Guide
Does IP or country blocking stop checkout bots on Shopify?
Mostly no. IP and country blockers work on your storefront pages, but checkout bots usually skip those pages and go straight to checkout, so the blocker never sees them. They also rotate IP addresses and countries. To stop checkout bots, the check has to run at the payment step, where every order must pass.
How do IP and country blockers work?
A storefront blocker adds a script or rule to the pages your theme shows: the home page, collections and product pages. When a visitor loads one of those pages, it looks up their IP address, country, network or browser and shows a block page or redirects them.
That works for people and simple bots that browse your store page by page. It only works on pages that load the blocker.
Why do checkout bots get past them?
- They skip your pages. A bot can add a product to a cart and open checkout directly, without ever loading a page that runs the blocker. Checkout pages are run by Shopify, not by your theme.
- They change address. Card-testing bots rotate through many IP addresses, often in the same country as your shoppers, so a list of blocked IPs or countries is always one step behind.
- They still leave traces. Merchants using storefront blockers often still see bot checkouts, fake customer accounts and email signups, because those are created at checkout and signup, not on the blocked pages.
Shopify leaves checkout attempts it identifies as suspected card testing or bot activity out of your abandoned checkouts (Shopify Help Center). The ones it doesn't catch still show up there.
Can IP or country blocking hurt real customers?
- Shared and changing IPs. Mobile networks, offices and privacy features give many real people the same or a rotating IP address. Blocking one can block them all.
- Travellers and expats. A real customer abroad, or using a VPN for privacy, looks like a visitor from a blocked country.
- Search and ads. A block page shown to a crawler can keep pages out of search results or ad review. Allow lists for search engines help, but have to be kept right.
None of this is a reason never to block a country you truly don't serve. It's a reason to do it where it can't hurt browsing: at checkout, by shipping country.
Where can checkout bots actually be stopped?
Not on visits: no app can block traffic to your store. Every request reaches Shopify first, and Shopify filters much automated traffic itself (Shopify Help Center). What can be stopped is what a bot tries next.
| Approach | Where it acts | Bots that go straight to checkout | Risk to real shoppers |
|---|---|---|---|
| Storefront IP, VPN or country blocker | Storefront pages | Often not seen | Can block shared IPs, travellers and crawlers |
| Fraud Control rules (free, by Shopify) | Checkout | Only those matching your rules | Low if the rules stay narrow |
| Checkout validation at the payment step | Every checkout, before payment | Yes | Depends on the rules; start by only recording |
| Cleanup after the fact | Customer list and email tools | Removes what they left behind | None if real buyers are protected |
What can I do for free?
- Install Shopify's free Fraud Control app and add narrow checkout rules for the emails and addresses the bots reuse (source).
- Stop shipping where you don't sell. Removing a country from your shipping zones keeps checkouts from completing there without touching your storefront.
- Check your Shopify Payments fraud filters, such as AVS and CVV checks (source).
- Clean up what the bots left behind: fake customer accounts and email signups, after downloading a backup.
How does Linesman handle this?
Linesman never touches your storefront pages. It checks every checkout at the payment step, using live signals (a browser check from real shoppers' carts, throwaway emails, placeholder names, the same email, phone or address checking out again and again). If you don't sell to some countries, you pick them by name and Linesman stops checkouts that ship there, while anyone can still browse.
- Proof first: start in Watch mode, which only records what it would stop.
- Real customers get through: returning customers and your trusted buyers always pass.
- Cleanup: remove the fake customers bots created, and stop paying to email them in Klaviyo.
Frequently asked questions
Should I block countries I don't ship to?
Yes, but at checkout rather than on your storefront. Removing them from your shipping zones, or a checkout rule by shipping country, stops orders there without hiding your store from shoppers or search engines.
Does blocking VPNs stop card testing?
Not reliably. Card testers rotate IP addresses and often use ordinary home or mobile networks, while many real shoppers use VPNs and privacy features.
Why do I still see abandoned checkouts from bots after blocking them?
Because the bots reach checkout without loading the pages where the block runs. Shopify hides some suspected bot checkouts, but the rest still appear.