Skip to content
Shopify tutorials

How to block a customer in Shopify (stop orders from bad buyers)

Sooner or later every store owner meets that one buyer: the customer who files a chargeback after every delivery, abuses your return policy, sends abusive messages to your support team, or places dozens of fake orders. The natural reaction is to look for a Block customer button in the Shopify admin… and that is where most merchants get stuck, because Shopify doesn’t have one.

In this tutorial, we will learn how to block a customer in Shopify using only built-in tools: customer tags, order cancellation, a free Shopify Flow workflow that cancels their new orders automatically, and checkout rules that stop them before they can even pay. I’ll also explain the limits of each method so you know exactly what is (and isn’t) possible.

Previously, I published a tutorial on how to cancel and refund an order in Shopify. We will reuse those steps here, so keep that guide open if you have never cancelled an order before.

Can you block a customer on Shopify?

Short answer: not with a single click. Shopify has no native blacklist, so you can’t ban a person, an email address or an IP address from the admin. What you can do is combine a few features so that a blocked customer can’t successfully buy from you:

  • Tag the customer so your team and your automations know who is blocked.
  • Cancel and refund any open orders they already placed.
  • Automatically cancel future orders with Shopify Flow.
  • Stop the checkout itself with a checkout rule (validation) app.

Steps 1–3 work on every plan that can install Shopify Flow, which is a free app made by Shopify. Step 4 needs an app from the Shopify App Store that adds checkout rules.

Step 1: Tag the customer as blocked

The tag is the foundation of everything else. Workflows and apps can’t read your mind, but they can read a tag.

  1. From your Shopify admin, go to Customers.
  2. Search for the buyer by name or email and open their profile.
  3. In the Tags box, type blocked and press Enter.
  4. In the Notes box, write down why you blocked them (for example “2 chargebacks in 2026, do not ship”). This helps your staff and gives you a record if a dispute happens later.
  5. Click Save.

shopify customer blocked tag

Use exactly the same tag every time (all lowercase, no spaces). If you sometimes type Blocked and sometimes blacklist, your workflow in Step 3 will miss customers.

Tip: don’t delete the customer. Deleting the profile throws away the order history and notes you may need to fight a chargeback, and Shopify won’t let you delete a customer who already has orders anyway. Keep the record and tag it instead.

Step 2: Cancel and refund their open orders

Next, deal with any orders that haven’t shipped yet. Go to Customers, open the customer, and look at their recent orders. For each unfulfilled order:

  1. Open the order and click More actions > Cancel order.
  2. Choose to refund the payment and restock the items.
  3. Pick a reason (for example Fraudulent order if that’s the case) and decide whether to send the customer a notification.
  4. Click Cancel order to confirm.

If the order was paid with a card that you suspect is stolen, refunding it quickly also protects you: a refunded order can’t turn into a chargeback for the same amount later. If you use manual payment capture, you can simply cancel the order before you capture the payment.

Step 3: Auto-cancel new orders from blocked customers with Shopify Flow

Tagging and cancelling by hand works once. But a determined customer will just order again tomorrow, and you won’t always catch it before your warehouse ships the parcel. This is where Shopify Flow comes in: we will build a small workflow that cancels every new order placed by a customer tagged blocked.

3.1 Install Shopify Flow

Flow is a free app made by Shopify. If you don’t see it under Apps in your admin, search for “Shopify Flow” in the Shopify App Store and install it.

3.2 Create the workflow

  1. Go to Apps > Flow and click Create workflow.
  2. Click Select a trigger and choose Order created.
  3. Add a condition: check Order / Customer / Tags, choose the operator Includes (or “At least one of” depending on your Flow version) and enter blocked.
  4. On the Then branch, add the action Cancel order.
  5. Configure the action: set Reason (for example “Fraudulent order”), turn on Refund and Restock items, and decide whether to turn on Notify customer. You can also add a Staff note such as “Auto-cancelled: blocked customer”.
  6. Optionally add a second action, Add order tags, with the tag auto-cancelled so you can filter these orders later.
  7. Name the workflow “Cancel orders from blocked customers” and click Turn on workflow.

shopify flow cancel blocked customer orders

The Cancel order action in Flow refunds everything the customer paid (products, duties and shipping) when Refund is on, and returns the items to inventory when Restock items is on. You can read about the other fraud-related templates in the official Shopify Help Center guide on managing high-risk orders with Shopify Flow.

3.3 Also catch guest checkouts by email

The tag condition only works when the order is linked to the tagged customer profile. Shopify links guest orders to an existing profile when the buyer uses the same email, but a blocked buyer might type a slightly different address. To be safer, add an Or condition on Order / Email equal to the addresses you know they use, or on Order / Shipping address / Address1 if they always ship to the same place.

3.4 Test the workflow

Before you rely on it, tag a test customer with blocked and place an order with it. Then open Apps > Flow, check the Recent runs list and confirm the order was cancelled and refunded. If you don’t want to use a real card, follow my guide on how to place a test order in Shopify with the Bogus gateway or Shopify Payments test mode.

Step 4: Stop blocked customers at checkout with a checkout rule

Flow cancels orders after they are placed. That’s usually enough, but it still means a payment is authorized and refunded, which costs you card processing fees in some regions and can count against your chargeback ratio if things go wrong. The cleaner option is to stop the blocked customer before they can pay.

Shopify supports this through cart and checkout validation (often shown to merchants as “checkout rules”). You don’t need to write code: install a checkout rules or checkout validation app from the Shopify App Store, then create a rule such as:

  • Block checkout if the customer has the tag blocked.
  • Block checkout if the email equals or contains a value you list.
  • Block checkout if the shipping address contains a specific street or ZIP code.

When the rule matches, the buyer sees an error message at checkout (you can usually customize the text, for example “We are unable to process this order. Please contact support.”) and the order is never created. Most of these apps let you manage the rule from the app itself and then enable it in your checkout settings. I used the same type of app to cap quantities in my tutorial on how to limit order quantity in Shopify, so the setup will look familiar if you followed that one.

Compare the free and paid plans of a few apps before choosing one, and check the reviews for “works with guest checkout” if most of your customers don’t create accounts.

Other things you can do

  • Review the fraud analysis: on every order page, Shopify shows a fraud risk analysis. If you have a pattern of fraudulent orders from new identities, use the “Order risk analyzed” trigger in Flow instead of tagging people one by one.
  • Use manual payment capture: under Settings > Payments, switching to manual capture gives you time to review orders before money moves. It doesn’t block anyone by itself, but it makes cancelling much cleaner.
  • Block countries instead of people: if the problem is a whole region, remove it from your shipping zones and markets so checkout can’t complete there.
  • Use a dedicated blocklist app: some fraud apps can block by IP address, device or card fingerprint. These go further than Shopify’s built-in tools, but they are paid and no method is 100% reliable.

Common errors

The workflow ran but the order wasn’t cancelled

Open Apps > Flow, click the workflow and check Recent runs. If the condition evaluated to “false”, the order wasn’t linked to the tagged profile (usually a guest checkout with a different email). Add the email or address conditions from Step 3.3.

The order shipped before Flow cancelled it

Flow runs within seconds, but if you use a fulfillment app that captures orders instantly, it may grab the order first. Ask your fulfillment provider to hold orders tagged auto-cancelled, or add a short hold period in their settings.

I can’t disable the customer’s account

With the new customer accounts, customers sign in with a one-time code, and there is no admin option to stop a specific person from signing in. That’s fine: signing in doesn’t let them buy anything once the checkout rule and Flow workflow are in place.

The blocked customer uses a new email every time

Tags and email rules only catch identities you already know. Match on things that are harder to change, such as the shipping address, or use a fraud app that checks IP and card fingerprints.

Wrapping up

That’s how to block a customer in Shopify without a dedicated button: tag them as blocked, cancel and refund their open orders, let Shopify Flow auto-cancel anything new, and add a checkout rule if you want to stop them before they pay. Together, these steps cover almost every situation, from serial returners to fraudsters.

Have you found another way to deal with problem buyers in Shopify? Or is something in the steps above not working for your store? Let me know in the comment section below and I’ll try to help.

Written by

Hung Tran

Hung Tran is the main editor of magentip.com, he loves to write about everything related to Magento 2