Skip to content

How to block fake orders with checkout rules

Checkout rules run inside Shopify’s checkout, so they block an order before it’s placed. They work for every checkout, including Shop Pay, Apple Pay, Google Pay and PayPal. The Checkout page covers:

  • Block visitors your store blocked today: anyone your block page stopped today can’t check out either.
  • Your checkout rules: block a checkout by Email, Name, Country, Phone, Zip or postal code, Cart value, or City or company, with your own message. Email rules can also block disposable email addresses, and name rules can block names that look like random letters, keyboard mashing or one repeated character.
  • Fraud emails: when you cancel an order as fraud, its email can’t check out again. You can also block emails from orders Shopify rates High risk.
  • Blocked emails: the list of emails that can’t check out. You can add, search and remove emails.
  • Blocked checkout attempts: how many checkouts your rules stopped in the last 7 days.

A logged-in customer whose email is on your blocked emails list, or matches one of your email rules, also sees your block page on your storefront.

  • You get fake or fraudulent orders, even after bots are blocked on your storefront.
  • The same people or email domains keep placing orders you cancel.
  • You get orders from countries you don’t ship to, or with gibberish names or throwaway email addresses.
  • You want to stop very large or very small orders that are usually fraud for your store.
  • Checkout > Turn on
  • Checkout > Block visitors your store blocked today
  • Checkout > Add checkout rule > Condition, Match and Message shown at checkout
  • Checkout > Your checkout rules > a rule’s menu > Edit or Delete
  • Checkout > Fraud emails > Block emails from orders you cancel as fraud
  • Checkout > Fraud emails > Also block emails from orders Shopify rates High risk
  • Checkout > Fraud emails > Blocked emails > Add email, Search or Remove

Your plan sets how many checkout rules you can add. Your rules also have to fit Shopify’s size limit for a checkout rule, so very long messages or lists use it up sooner. If they don’t fit, the form says “Your checkout rules are full”.

Open the app’s Checkout page and click Turn on. The page then says Checkout rules are on, with the badge Active in Shopify.

  • If it later says Checkout rules are off in Shopify, someone switched them off in Shopify’s checkout settings. Your rules are saved but nothing is checked at checkout. Click Turn on again.
  • Shopify allows each store 25 checkout rules from apps. If your store has already used all 25, the page says so; remove one you no longer use in Shopify’s Settings > Checkout > Checkout rules (the Open checkout settings button takes you there), then click Try again.

Block visitors your store blocked today is on by default. If your block page stopped someone today, they can’t check out either, even if they find their way to checkout.

  1. On the Checkout page, click Add checkout rule.
  2. Choose a Condition and how it should Match:
    • Email: is exactly, the domain is, or contains. Tick Also block disposable email addresses (about 2,400 known throwaway domains) to block throwaway email domains too.
    • Name: contains a word or phrase. You can also block names that look like random letters (such as “xkqzvbn”), keyboard mashing (such as “asdfgh”), or one character repeated (such as “aaaa”), and try a name in Test a name first. These patterns only match names in the Latin alphabet, so names in other scripts are never blocked by a pattern. Patterns block from the moment you save, so test a few real customer names first.
    • Country: is one of the countries you pick.
    • Phone: starts with, or contains.
    • Zip or postal code: is exactly, or starts with.
    • Cart value: is above or is below an amount, in your store’s currency.
    • City or company: checked against the delivery address’s city, company and province. Shopify doesn’t give checkout rules the street address.
  3. Edit the Message shown at checkout if you like (up to 150 characters). The default is “We couldn’t complete this order. Please contact the store.”
  4. Click Save rule.

A checkout that matches any rule is stopped with that rule’s message.

Under Fraud emails:

  • Block emails from orders you cancel as fraud: when you cancel an order with the reason Fraud, its email can’t check out again. On by default.
  • Also block emails from orders Shopify rates High risk: off by default. It catches more fraud, and some real customers, so check the list from time to time.

Blocked emails shows every blocked email, why it’s there (“Cancelled as fraud”, “Rated High risk by Shopify” or “Added by you”, with the order number when there is one) and the date it was added.

  • Click Add email, enter the Email and click Block email to block it by hand. It can’t check out until you remove it.
  • Click Remove to let an email check out again.
  • Use Search blocked emails to find an older entry.

Entries don’t expire. Up to about 4,800 emails are checked at checkout; if your list grows past that, the excess entries aren’t checked and the page says how many. Emails you added and emails from orders cancelled as fraud are checked first, so the oldest High-risk entries are the first to go unchecked.

The Checkout page and Home count blocked checkout attempts in the last 7 days as “at least” a number, because ad blockers can hide some attempts from the count. The blocks themselves still happen. The Report shows them too, as Blocked checkouts.

  • Checkout rules block even in watch mode.
  • If your store has more rules than its plan includes, the extra rules show Not checked. Delete one to check another.
  • If a checkout rule can’t run, the checkout goes through. A fraud rule never stops every sale.