Blog

WooCommerce failed orders: stop the bot attacks behind them

WooCommerce failed orders: how to tell a bot attack from a real customer, and how to fix each

A failed order in WooCommerce is an order where the payment didn’t go through. The customer (or a bot) reached checkout, the payment gateway said no, and WooCommerce recorded the order as “Failed”.

What it means depends on the pattern. A burst of failed orders in a short time, often for small amounts with made-up names, usually means bots are testing stolen card numbers on your checkout (“card testing”). A few failed orders now and then are usually real customers whose payment was declined. The two need different fixes, so this guide shows you how to tell them apart, then how to fix each.

This article is part of our WooCommerce performance optimization series. For the complete guide covering why stores are slow and how to resolve it, start there.

WooCommerce store owner reviewing a sudden spike in failed checkout orders and payment alerts.

Bot attack or real customer? How to tell

Open WooCommerce > Orders, filter by “Failed”, and look at the pattern:

CheckBot attack (card testing)Real customer
How many, how fastDozens in minutes or hours, often overnightOne or two, spread out
Order valueVery small amounts, or the cheapest product again and againNormal basket sizes
Names, emails, addressesRandom or repeated names, throwaway emails, addresses that don’t matchA real person, often an existing customer
Decline reason (order notes)The same decline over and overA specific reason: insufficient funds, the bank’s security check not completed, wrong CVC
What happens nextNo follow-up from the “customer”Often a second, successful order soon after

The order notes (on the right of each order) and your payment gateway’s dashboard show the decline reason for each attempt. If the same IP address or the same first digits of the card keep repeating, it’s a bot.

Bot attack or real customer? Many failed orders in minutes for tiny amounts with random names point to card testing; one or two failed orders with a real name and a clear decline reason point to a real customer

Why failed orders happen

Failed orders come from two places: bots and real payment problems. Bot attacks cause the floods. Store owners regularly report a sudden wave of failed orders in minutes, and it nearly always has the same cause: someone is using your checkout to test stolen cards, because each small payment that goes through tells them a card works.

Bots usually go after one of two targets.

The two ways bots target your store

WooCommerce checkout flow and the points bots attack

1. A separate payment page

One major reason for recurring failed orders is a payment plugin that uses a separate page for inputting credit card details. This setup makes the payment process a potential target for abuse by malicious bots or bad actors.

Why does this happen?

When the credit card entry is handled on a separate page, attackers can bypass the initial stages of the checkout process and focus solely on that isolated payment page. By programmatically sending requests to the payment URL, they can target the payment gateway repeatedly, which often results in failed transactions. This can quickly snowball into a flood of failed orders.

Solution

The ideal solution is to tighten access to this vulnerable payment page. One effective approach is to use the Simple Cloudflare Turnstile plugin, which provides a lightweight and non-intrusive way to add CAPTCHA-like verification to sensitive parts of the checkout process. By enabling Turnstile on the credit card page, you can effectively block bots from sending repeated requests.

WooCommerce revenue audit

We’ll show you exactly where your store loses revenue.

We audit your store across UX, performance, and conversion, then show you the specific issues costing you orders – each one measured against revenue impact. You get a prioritized list of what’s losing money and what it’s worth to resolve.

Start My Audit →

Every finding comes with the revenue it’s costing you and the lift from resolving it. You decide what’s worth doing.

2. The checkout page itself

Bots flooding a WooCommerce checkout page with repeated failed order attempts.

Another common cause for failed orders is when the checkout page itself is targeted by bots attempting multiple orders, often for malicious purposes. This type of attack can cause a flood of checkout attempts, each one ending in a failed transaction.

Why does this happen?

The WooCommerce checkout page can be an attractive target for bots designed to test stolen credit card information or overwhelm the site with unnecessary transactions. Without any protective measures in place, bots can initiate numerous checkout processes, leading to failed orders, decreased performance, and even downtime.

Solution

Using the Simple Cloudflare Turnstile on the checkout page is a highly effective solution here as well. This plugin adds an extra layer of protection without annoying legitimate customers. Turnstile challenges the user to verify they are not a bot before proceeding, ensuring that your checkout page can only be accessed by real customers.

Bots attacking a WooCommerce checkout page
WooCommerce revenue audit

Find the UX and speed gaps costing your store orders.

A 245-point Baymard audit and mobile PageSpeed benchmark, scored by revenue impact.

Start My Audit →

Stop the bots with Cloudflare Turnstile

On the WooCommerce stores we look after, the fix that stops these floods is Simple Cloudflare Turnstile on both the checkout and the credit card entry pages. Here’s why it works well:

  • Lightweight: Unlike traditional CAPTCHA systems, Turnstile loads quickly and rarely asks shoppers to do anything.
  • Invisible Verification: Turnstile operates mostly in the background, which means customers do not have to go through annoying verification puzzles. This ensures a smooth shopping experience while keeping bots out.
  • Versatile Integration: The plugin can easily be enabled for any WooCommerce checkout flow, whether it’s on the primary checkout page or additional credit card entry pages.
How Cloudflare Turnstile protects WooCommerce checkout from bots

How to set up Simple Cloudflare Turnstile

To set up the plugin, follow these steps:

  1. Install the Plugin: Head to your WordPress Dashboard, go to Plugins > Add New, and search for “Simple Cloudflare Turnstile.” Install and activate it.
  2. Configure Plugin Settings: Once installed, navigate to the Turnstile settings page. You’ll need a Cloudflare account to retrieve the necessary site and secret keys.
  3. Enable for WooCommerce Pages: Under the settings, enable Turnstile for the WooCommerce checkout page and the payment page if applicable.
  4. Test the Integration: Perform a few test checkouts to ensure that everything works as intended. The Turnstile challenge should not interfere with legitimate customer interactions.

Use your payment gateway’s protection too

Turnstile stops bots before they reach the payment step. Your payment gateway can stop the ones that get through:

  • WooPayments: its fraud protection rules can block suspicious orders before the card is charged, and during a card testing attack it can block very low-value orders. It uses Stripe’s Radar to spot fraud (WooCommerce docs: card testing).
  • Other gateways: WooCommerce recommends adding a CAPTCHA to checkout and turning on your gateway’s anti-fraud options (WooCommerce docs: preventing card testing attacks). Check your gateway’s settings for fraud rules and contact its support during an attack.
  • Rate limiting: ask your host, or set a rule in Cloudflare, to limit how many checkout requests one visitor can send in a minute.

When real customers’ payments fail

Not every failed order is an attack. Sometimes a real shopper tried to pay and the payment didn’t go through. That’s a sale you can still win.

Find the reason. Open the order and read the order notes, then check the same payment in your gateway’s dashboard. The common reasons:

  • Not enough money on the card, or a spending limit reached
  • The bank’s security check (3D Secure) wasn’t completed, often because the shopper closed the pop-up or the code didn’t arrive
  • The billing address or CVC didn’t match what the bank has
  • The card had expired

Win the sale back. Send a short, friendly email: the order didn’t go through, here’s a link to try again, reply if you need help. Never re-run the card yourself.

Fix the friction. If real customers’ payments fail often, look at your checkout: confusing address fields, a payment pop-up that’s hard to finish on a phone, or too few payment options. Our list of 38 checkout usability issues covers the common ones.

Monitoring failed orders

The sooner you spot a spike, the less it costs you in gateway fees and blocked accounts.

  • Turn on the failed order email: go to WooCommerce > Settings > Emails, open “Failed order”, and make sure it’s enabled and goes to an inbox someone reads.
  • Check failed orders weekly: filter WooCommerce > Orders by “Failed”. A few real declines are normal; a jump is a warning.
  • Alert on spikes: if you get many failed order emails in an hour, treat it as an attack.
  • Use a web application firewall: Cloudflare’s firewall can filter malicious traffic before it reaches your site. Combined with Turnstile, this gives you a layered defense.
  • Limit payment retries: cap how many times one visitor can attempt payment. This makes it harder for bots to abuse your payment gateway.

The first hour of an attack:

  1. Turn on Turnstile for checkout and any payment page (or check it’s still working).
  2. Tighten your gateway’s fraud rules, for example blocking very low-value orders.
  3. Contact your payment gateway’s support, so they know the failed attempts aren’t you.
  4. Afterward, delete the bot orders and keep an eye on the next few days.
Protected WooCommerce checkout flow with successful orders and bot protection enabled.
CB

Campbell, founder of Blaze Commerce

WooCommerce only · the data to prove it

Turnstile stops the bots. What about the rest?

Bot attacks are one symptom. Slow load times, plugin conflicts and checkout friction quietly cost stores sales too. The WooCommerce Revenue Audit measures where your store is losing revenue and what each fix is worth, before you spend a dollar on development. If you’d rather have someone watch for attacks and keep the store healthy, that’s part of Managed Woo.

Start My Audit →

You get the findings and a prioritized action plan. Yours to keep, whether you work with us or not.

Key takeaways

  • A failed order means the payment didn’t go through. A burst of them is usually bots testing stolen cards; a few now and then are usually real customers.
  • Tell them apart by volume, order value, names and the decline reason in the order notes.
  • Stop the bots with Cloudflare Turnstile on checkout and any payment page, plus your gateway’s fraud rules (WooPayments can block very low-value orders during an attack).
  • For real customers, read the decline reason, send a friendly link to pay again, and fix checkout friction.
  • Turn on WooCommerce’s failed order email and check failed orders weekly, so you catch the next spike in the first hour.

If failed orders keep coming back, or you’d like to know what else is costing your store sales, start a WooCommerce Revenue Audit and you’ll get the findings and a prioritized action plan.

Frequently asked questions

Why is my WooCommerce store suddenly getting so many failed orders?

A sudden flood of failed orders is almost always automated. Bots target either a separate credit card entry page or the checkout page itself, sending repeated payment attempts to test stolen card numbers. Because each attempt fails at the gateway, the count can climb fast, often within minutes.

How do I stop bots from creating failed orders at checkout?

Add the Simple Cloudflare Turnstile plugin and enable it on both the checkout page and any separate credit card page. Then turn on your payment gateway’s fraud protection; WooPayments, for example, can block very low-value orders during a card testing attack.

Does Cloudflare Turnstile slow down or annoy real customers?

Turnstile runs mostly in the background and rarely shows a visible challenge, so shoppers don’t have to solve puzzles like with traditional CAPTCHA. It’s lightweight, so legitimate shoppers move through checkout without interruption.

What else should I do beyond Turnstile to protect my store?

Turn on WooCommerce’s failed order email so you spot spikes early, put a Cloudflare web application firewall in front of your site, use your gateway’s fraud rules, and limit how many times a visitor can retry a payment.

Why do real customers get failed orders?

Usually the bank declined the payment: not enough funds, the 3D Secure check wasn’t completed, the address or CVC didn’t match, or the card had expired. The order notes and your gateway’s dashboard show the reason. Send the customer a friendly email with a link to try again, and never re-run the card yourself.

Get my Revenue Recovery Audit

We score your store against the same 245-point Baymard standard we run on every audit, benchmark your mobile PageSpeed, and send the findings within five business days – each gap ranked by revenue impact.

Start My Audit →

Every gap is tied to a dollar figure and a priority.

CB

Talk directly with Campbell

Founder · WooCommerce only

Schedule a strategy call

30 minutes with Campbell on your UX and performance challenges with WooCommerce – especially if you’re in a restricted vertical where paid ads aren’t an option.

Schedule My Strategy Call →

30 minutes. No pitch – an honest assessment of where you stand.

Need help growing your WooCommerce store?

Let Blaze Commerce handle the strategy so you can focus on scaling.

Start My Audit