WooCommerce Failed Order: Causes, Stock, and How to Recover the Sale
A WooCommerce failed order is a payment attempt that did not go through. Why orders fail, how to read the reason, what happens to stock and emails, what to do when a customer says they were charged, and how to win the sale back.
In this article15 sections
A WooCommerce failed order is an order whose payment was attempted and did not go through: the card was declined, the customer did not finish authentication, or the payment provider reported an error. No money was taken in the normal case, no stock was sold, and the customer can still pay for the same order. The exceptions to “no money was taken” are what make failed orders worth understanding.
This page covers why orders fail, how to read the reason, what happens to stock and emails, what to do when a customer says they were charged, and a routine for winning back the sales that are recoverable. Behaviour was checked against WooCommerce 11.3 source.
What the Failed status means, next to Pending and Cancelled#
Three statuses all mean “unpaid”, and they are easy to confuse. The difference is how the order got there and what WooCommerce will still do with it.
| Status | How an order gets there | Can the customer still pay? | Cleared automatically? |
|---|---|---|---|
| Pending payment | Checkout started, payment not yet confirmed | Yes | Yes, checkout orders are cancelled after the Hold stock time |
| Failed | A payment attempt was rejected or errored | Yes | No |
| Cancelled | Timed out, or cancelled by you or the customer | No | No |
Failed is the only one of the three that records a definite “no” from the payment side. It is also sticky: the timer that cancels unpaid orders looks only at Pending payment orders, so a failed order stays failed until someone acts. How that timer works is explained in our guide to WooCommerce pending payment, and the full list of statuses in WooCommerce order status.
Why a WooCommerce order fails: the usual causes#
The status is set by the payment gateway plugin, not by WooCommerce itself, so the exact triggers depend on your provider. In practice nearly every failed order comes from one of these:
- The bank declined the card. Insufficient funds, a spending limit, an expired card or a block on online or foreign payments. By far the most common cause.
- Authentication was not completed. The customer was sent to their banking app for approval and closed it, timed out or got the code wrong.
- Details did not match. Wrong security code, or a billing postcode that does not match the card where the provider checks it.
- The provider’s fraud rules blocked it. A risk score over the threshold you or the provider set.
- A delayed payment bounced. A bank debit that was accepted at checkout and rejected by the bank days later. The order had been sitting On hold and moves to Failed.
- A technical error. The provider was unreachable, or returned an error your site could not interpret.
The first four are the customer’s side and usually fixable by trying another card. The last is yours to investigate.
Finding the reason: read the order notes first#
Open the failed order and look at the Order notes box on the right. Most gateway plugins write a private note when they set the status, with the provider’s decline code or message: “Card declined: insufficient funds”, “Authentication failed”, “Payment blocked by risk rule”. The status change itself is logged directly above or below it, as “Order status changed from Pending payment to Failed.”
If the note names a reason, you have your answer in ten seconds. If there is only the status line and no reason, look the order up in the payment provider’s own dashboard by amount, time and email. And if the provider shows no attempt at all, the failure happened before the payment request left your site, which points to a configuration or plugin problem. Those notes are private: the customer never sees them.
What happens to stock when an order fails#
Usually nothing, because nothing had been taken. WooCommerce reduces stock when payment completes or when an order reaches Processing, Completed or On hold. A card that is declined at checkout goes from Pending payment straight to Failed, so the stock quantity never moved.
| Path to Failed | Was stock reduced? | What WooCommerce does on failure |
|---|---|---|
| Pending payment → Failed (declined card) | No | Nothing to restore; the checkout’s temporary reservation is released |
| On hold → Failed (delayed payment bounced) | Yes, when it went On hold | Restores the stock and adds a “Stock levels increased” note |
The second row is recent. WooCommerce’s stock functions restore stock on failure only since version 11.0, and only for orders flagged as having reduced it. On an older version, an order that fails after being On hold keeps its stock until you cancel it. If your quantities look wrong after a run of failed orders, check the version first, then our list of reasons WooCommerce stock levels go wrong.
Which emails go out for a failed order#
Two emails exist, and both are called “Failed order” in WooCommerce → Settings → Emails. One is for you: it goes to the shop’s address when an order moves from Pending payment or On hold to Failed. The other is for the customer, with the default subject “Your order at {site_title} was unsuccessful”. Check that list to see which of the two are enabled on your site, and edit the customer one so that it says what to do next.
The customer email matters more than it looks. A shopper whose card was declined often does not know it; they closed the tab at the bank’s approval screen and assume the order went through. A clear message with a link to try again is the cheapest recovery tool you have. If either email is enabled and not arriving, follow our checklist for order emails not sending.
“I was charged but my order failed”: how to check#
This is the complaint that needs care, because three different situations produce it. Do not answer from the WooCommerce order alone. Find the transaction in the payment provider’s dashboard and see what it actually says.
| What the provider shows | What it means | What to do |
|---|---|---|
| No payment, or a declined attempt | No money moved. The customer may see a pending line on their statement that the bank will drop | Tell the customer it will disappear without a refund; invite them to retry |
| Authorised, not captured | Money is reserved on the card but not taken | Either void the authorisation, or capture it and mark the order paid |
| Succeeded or captured | You have the money; your site was never told | Mark the order paid (next section), then find out why the confirmation did not arrive |
| A second, successful payment | The customer retried and paid on another order | Leave the paid order alone; cancel the failed one |
The third row is the serious one. Payment providers confirm a payment by calling your site back. If that call is blocked by a firewall, a caching rule, a wrong webhook address or a fatal error on your site, the money arrives and the order never updates. One such order can be a glitch. Two in a week is a broken connection: check the provider’s webhook log, which lists every call and the response your site gave. Whether a reserved payment should be voided or refunded is its own topic, covered in void vs refund.

Marking a failed order as paid, the right way#
Once you have seen the captured payment with your own eyes, open the order, change the status from Failed to Processing and update. That single change does several things at once: stock is reduced, the customer receives the processing email, and you receive the new order email, because WooCommerce treats Failed to Processing as a new paid order.
Then add a private note with the provider’s transaction reference and your initials: “Paid at provider, ref ending 4821, webhook missed. JH”. Without it, the order’s history says the payment failed and then says nothing, which is confusing for whoever handles a refund later.
Never do this on the strength of a customer’s screenshot. A banking app shows authorisations that are later dropped, and a screenshot can be of anything. Confirm in the provider’s dashboard or your bank account first.
How a customer can retry a failed order#
WooCommerce counts both Pending payment and Failed orders as still needing payment, so a failed order can be paid without starting again. There are three routes:
- At checkout, straight away. If the customer is still on the checkout page with the same cart, a second attempt reuses the same order. You see one order that failed and then succeeded, not two.
- From their account. A signed-in customer sees a “Pay” button beside the failed order under My account → Orders.
- From a link you send. On the order screen, the “Customer payment page →” link beside the status is the payment address for that order. Copy it into a message, or choose “Send order details to customer” from the Order actions menu to email it.
Route 1 only works while the session lasts. A customer who comes back the next day with a fresh cart creates a new order, and the failed one stays behind. That is why a store with healthy sales still accumulates failed orders.
Recovering the sale: a routine and a worked example#
Not every failed order is a lost customer. Someone whose card was declined wanted to buy; that is a warmer lead than an abandoned basket. A simple routine:
- Within the hour: the automatic customer email does the first contact. Make sure it is on.
- Next morning: list yesterday’s failed orders. Search each customer’s email for a later paid order; if there is one, they sorted it out, so cancel the failed order.
- For the rest: send one personal message with the payment link and an offer to help: “Your payment didn’t go through, usually a bank check. Here is the link to try again, or reply and we can take another method.” Then stop. One reminder is service; three is pestering.
A shop with 40 failed orders a month at an average of £58 has £2,320 of attempted purchases failing. Suppose 15 of the 40 retried successfully on their own. Of the remaining 25, a personal message brings back 6. That is 6 × £58 = £348 a month, or £4,176 a year, for about ten minutes each morning. Your numbers will differ; the method for finding them is to count failed orders, subtract the ones with a later paid order, and track how many of the rest pay after a message.
A burst of failed orders in minutes: card testing#
A sudden run of failed orders, often dozens within an hour, for the cheapest product in the shop, from customers with nonsense names and different cards each time, is not bad luck. It is card testing: someone using your checkout to find out which stolen card numbers still work.
Treat it as urgent, because a high decline rate can cause trouble with your payment provider, and a successful test means a fraudulent order you will later have to refund. Turn on the provider’s fraud tools and its limits on repeated attempts, add a challenge such as a CAPTCHA to the checkout, and block the pattern at your host or firewall if you can. Afterwards, bin the junk orders so that they do not clutter the list or your customer records.
Failed orders in reports and coupon limits#
Failed orders do not count as sales. WooCommerce Analytics leaves out Pending payment, Cancelled and Failed orders by default, under Analytics → Settings → “Excluded report order statuses”, so a failed order adds nothing to revenue. If your reported sales and your bank deposits disagree, a payment that succeeded at the provider while the order stayed Failed is one of the causes to rule out; the others are in our article on why a sales report doesn’t match takings.
Coupons are handled sensibly too. A coupon with a usage limit is not used up by a failed order: WooCommerce does not count Failed, Cancelled or binned orders toward the limit, so the customer can apply the same code on a retry.
Cleaning up old failed orders#
Because nothing cancels them, failed orders pile up. There are two tidy ways to deal with that. By hand: filter the Orders list to Failed, select the ones older than your follow-up window and move them to the bin.
Automatically: WooCommerce → Settings → Accounts & Privacy has a “Personal data retention” section with a “Retain failed orders” setting. Give it a period, for example 30 days, and WooCommerce moves older failed orders to the bin in the background. Leave it empty and they are kept indefinitely. The same section has matching settings for pending and cancelled orders. Thirty days is long enough for any realistic retry and short enough to stop you storing the details of people who never became customers.
Reducing failed orders in the first place#
You cannot stop banks declining cards, but you can remove the failures your own setup causes:
- Offer a second payment method. A customer whose card is refused has somewhere to go.
- Test the full payment yourself after any change to the checkout, the theme or the payment plugin, including the bank approval step on a phone.
- Check the provider’s webhook log monthly. Failed calls there are orders waiting to go wrong.
- Keep the payment plugin updated. Authentication rules change, and old versions start failing payments that used to pass.
- Make the error visible. If the checkout shows a vague message after a decline, customers assume the shop is broken and leave.
A useful benchmark is your own failure rate: failed orders divided by all order attempts in a month. Track it. A jump means something changed, either on your site or at the provider.
Keeping failed and unpaid orders in view with StoreRuler#
StoreRuler is a free order management plugin for WooCommerce, available on WordPress.org. It works on the orders WooCommerce already holds. Its order desk lists every order in one place, grouped by stage, with payment shown separately; you can filter by payment status, date and sales channel, search by order number, name, email or phone, and save a filter as a named view for yourself or the team.

That covers two steps of the routine above. A saved view of unpaid orders is the morning list, and the search by email is the check for a later paid order from the same customer. StoreRuler’s Today screen also shows the orders waiting to be prepared or paid.
StoreRuler does not retry payments, does not change how WooCommerce sets the Failed status and does not message customers about failed payments. When you cancel an order from StoreRuler it is cancelled in WooCommerce, which restores its stock. Payments and collections, and manual and phone orders, are part of StoreRuler Pro.
WooCommerce failed order: frequently asked questions#
What does Failed mean on a WooCommerce order?
Failed means a payment was attempted and rejected or errored: a declined card, an unfinished bank approval, a fraud rule or a provider error. The order exists but is unpaid. It does not count as a sale, it normally took no stock, and the customer can still pay for it from their account or a payment link.
Does a failed order reduce stock in WooCommerce?
A card declined at checkout never reduced stock, so there is nothing to put back. If an order had reached On hold, which does reduce stock, and then failed, WooCommerce 11.0 and later restores the stock automatically. On older versions that stock stays reduced until you cancel the order.
A customer says they were charged but the order shows Failed. What now?
Look the payment up in your provider’s dashboard. If it shows a decline, no money moved and any pending line on their statement will drop. If it shows a captured payment, your site missed the confirmation: change the order to Processing, add a note with the reference, and check the provider’s webhook log.
Can a customer pay for a failed order later?
Yes. WooCommerce treats failed orders as still needing payment. A signed-in customer has a Pay button next to the order in their account, and you can send the order’s payment page link from the order screen or with the Send order details to customer action. The order keeps its number.
Are failed orders cancelled automatically?
No. The Hold stock timer cancels only Pending payment orders. Failed orders stay until you cancel or bin them, unless you set Retain failed orders under WooCommerce, Settings, Accounts and Privacy, which moves failed orders older than the period you choose to the bin.
Why am I suddenly getting lots of failed orders?
Dozens of failed orders in a short time for a cheap product, with odd names and different cards, is usually card testing by fraudsters. Enable your payment provider’s fraud and rate limits and add a CAPTCHA to checkout. If the failures are from real customers, check for a recent plugin, theme or gateway change.
