New: Blockly Checkout Customizer is live — checkout rules, upsells & checkout analytics.Install free
Tutorial

Validate Checkout Fields to Block Spam and Fake Orders on Shopify

Gibberish names, throwaway emails and fake phone numbers are easy to spot once you know the patterns. Here is how to use checkout field validation on Shopify to stop spam and fake orders without blocking real customers.

Validate Checkout Fields to Block Spam and Fake Orders on Shopify

Some fake orders are easy to recognize. The name is "asdf asdf", the email ends in a throwaway domain, the phone number is 1234567890 and the address line is the same letter typed ten times. A person on your team would cancel it in seconds. The problem is that by the time anyone looks, the order may already be in the fulfillment queue, especially for cash on delivery or free-sample offers.

Checkout field validation moves that judgment earlier. This tutorial covers the field patterns that point to spam or fake orders, how to turn them into checkout rules on Shopify and how to keep false positives low.

Why fake orders happen

Fake and spam orders come from a few sources:

  • Bots and scripts that hit checkout with junk data, sometimes to test stolen cards.
  • People placing cash on delivery orders they never intend to accept.
  • Competitors or pranksters placing orders to waste your stock and shipping.
  • Abuse of free products, samples or "just pay shipping" offers.
  • Staff and developers placing real test orders that slip into fulfillment.

Each leaves traces in the checkout fields. For a broader view of the problem, including signals beyond checkout fields, see our guide to blocking fake orders on Shopify.

The field checks that catch the most

Gibberish and placeholder names

Names like "asdf", "qwerty", "aaa bbb", "test test" or a single character in both first and last name are strong signals. So are names that match the email local part letter for letter when that local part is random.

Keep this list conservative. Real names can be short (Li, Ng, Bo), can repeat (a first name equal to a last name happens), and can use any script. Block exact placeholders, not anything that looks unusual to you.

Disposable and throwaway email addresses

Disposable email services give out addresses that expire within minutes or hours. A real customer can use one, but they are far more common on fake orders, free-product abuse and repeat promo code claims. Checking the email domain against a list of known disposable domains catches most of them. Our guide to email domain fraud signals explains which domains to worry about and why privacy relay addresses, such as Apple's Hide My Email, should not be treated the same way.

Fake and invalid phone numbers

Watch for numbers with all the same digit, simple sequences like 1234567890, numbers that are too short for the country, and numbers that don't match the shipping country at all. Some fraud also uses virtual or disposable phone numbers. Our post on detecting disposable phone numbers covers those in more detail.

Phone checks matter most for cash on delivery, where the courier needs to reach the buyer. If you sell COD, a valid phone number is close to a requirement.

Repeated characters and keyboard mashing

Address lines like "aaaaaaa", "xxxxx" or "......" are rarely real. A check for the same character repeated many times in a row, or for fields made only of punctuation, catches a lot of bot traffic with very few false positives. Choose a high repeat count. Some real words and street names contain double letters, so a rule that fires on two or three repeats is far too strict.

Test orders

Orders with "test" in the name or email, or from your own staff emails, can slip into fulfillment when someone tests checkout on the live store. Rather than blocking the word "test" for everyone, tag staff accounts and handle their orders separately. A real customer could have "test" inside a name or email, and you don't want to block them.

CheckExample it catchesFalse positive riskSuggested action
Placeholder name list"asdf asdf", "test test"Low if the list is exactBlock
Disposable email domainAddress at a known throwaway domainLow to mediumBlock or review
Repeated digits in phone0000000000, 1111111111LowBlock
Phone too short for countrySix digits for a US numberMedium, formats varyWarn or review
Repeated characters in address"aaaaaaaa"Low with a high repeat countBlock
Name equals a known bad nameA name from past fake ordersMedium, names are sharedReview

Blocking versus reviewing

A checkout block stops the order before it exists. That is the right move when the signal is near-certain, such as a phone made of one repeated digit. When the signal is weaker, it is safer to let the order through and review it. Shopify Flow, order tags and a review queue let you hold suspicious orders without turning away a customer who simply typed fast. Our guide to manual review workflows covers how to set that up.

Another middle ground is to change what the customer can do rather than stop them. For example, hide cash on delivery when the phone or email looks suspicious, so the customer can still pay upfront. That keeps real customers and removes the cost of a refused COD parcel. The COD hiding guide shows the pattern.

Writing messages for blocked fields

Spam bots don't read your error messages, but real customers caught by a rule do. Keep messages neutral and tell the customer what to change:

  • "Please enter your full name as it should appear on the delivery."
  • "Please use a permanent email address so we can send your order updates."
  • "Please enter a valid phone number so the courier can contact you."

Don't write "Suspected fraud" or "Your order has been flagged". It insults real customers and tells fraudsters exactly which rule they hit.

Step-by-step setup

  1. Export the last few months of cancelled or refused orders and note which fields looked fake.
  2. Build a short list of exact placeholder names and a list of disposable email domains.
  3. Start with the lowest-risk checks: repeated digits in phones, long runs of the same character and exact placeholder names.
  4. Add disposable email blocking, ideally only for higher-risk situations at first, such as COD orders or free-product offers.
  5. Exclude staff and partner accounts with a customer tag.
  6. Write a clear message for every rule.
  7. Test with real-looking edge cases: short names, non-Latin scripts, international phone formats.
  8. Review blocked checkouts weekly for the first month and remove anything that catches real customers.

Measuring false positives

Every field check blocks some real customers. The question is how many. Track how often each rule fires, and compare checkout completion at the information step before and after you add it. If a rule fires much more often than you expected, look at the actual values it caught. Our guides to tuning false positives and measuring your false positive rate explain how to keep this in check.

Field checks pair well with address rules. A fake order often has a junk address as well as a junk name, and our checkout address validation tutorial covers that side.

Doing it with Blockly Checkout Customizer

Blockly Checkout Customizer is live and free on the Shopify App Store. It is built to block risky, spam and fake orders with form checks at checkout. Templates for email address, phone number and shipping name rules cover the common cases, customer tag rules handle staff exceptions and known bad actors, and the custom rule builder combines conditions when one signal isn't enough. You can also hide payment methods such as cash on delivery instead of blocking the order.

These rules run on Shopify Functions, so they work on all Shopify plans and apply to express checkout buttons and direct checkout links. The analytics page shows the performance of each rule, which helps you spot a rule that is catching real customers.

The takeaway

Checkout field validation catches the laziest fake orders before they cost you anything: placeholder names, throwaway emails, impossible phone numbers and keyboard mashing. Start with the checks that almost never hit real customers, review rather than block when the signal is weaker, exclude your own staff and keep an eye on how often each rule fires.

Frequently asked questions

Can Shopify block orders with fake names or emails?

Not natively. A Cart and Checkout Validation function can check the name, email and phone at checkout and block the order with a message. Public apps that use these functions work on all plans.

Should I block all disposable email addresses?

Blocking known disposable domains is usually safe, but start with higher-risk orders like cash on delivery or free offers. Privacy relay addresses are different and should not be blocked.

How do I stop my own test orders from being fulfilled?

Tag staff accounts and route their orders separately, rather than blocking the word "test" for all customers.

Will field checks block real customers?

Some, if the rules are too broad. Use exact lists, high repeat counts and market-aware phone checks, and review blocked checkouts regularly.

Up nextShopify Checkout Customization in 2026: The Complete Guide

Related articles

More tutorial articles →
Free forever plan

Ready to protect
your store?

Join 5,000+ Shopify merchants. Install in 30 seconds and block your first bad actor today.

  • No credit card
  • 5-minute setup
  • Cancel anytime