Guide

WooCommerce failed orders: why payments fail, and what to do

A Failed order is a payment the gateway declined or couldn't complete. Where to find the reason, which failures are normal, and when one is a problem to fix.

Updated

The short answer

A Failed order is a payment the gateway declined or couldn't complete. The cause is usually one of:

  • the shopper's card or bank — insufficient funds, a blocked card, a security check not passed;
  • the gateway's fraud rules, or a payment method that doesn't accept that card or country;
  • your set-up — expired keys, test mode, a misconfigured gateway;
  • bots testing stolen cards, when failures come in bursts.

The order notes and the gateway's dashboard tell you which. A few failures a week are normal; a rise on one payment method is a problem to fix.

What Failed means

WooCommerce creates the order when the shopper presses Place order, then waits for the payment gateway. When the gateway declines the payment or returns an error, the order is marked Failed. No money was taken.

It is different from Pending payment, where the gateway never answered — the shopper left the payment page, or the confirmation never reached the store. Some gateways move an order from Pending payment to Failed after a decline; others leave it pending.

The usual causes

  • The bank said no — insufficient funds, a card blocked for online or foreign payments, a limit reached.
  • A security check wasn't passed — the 3-D Secure confirmation in the banking app was closed, timed out or failed.
  • Wrong details — card number, expiry date or security code mistyped.
  • Fraud rules — the gateway's risk scoring blocked the payment, sometimes a genuine one.
  • The method didn't fit — a card type, currency or country the method doesn't accept, or a buy-now-pay-later provider that refused the shopper.
  • Your configuration — API keys expired or rotated, the gateway left in test mode, a plugin update that changed the payment form.
  • Card testing — bots trying stolen card numbers, which shows as a burst of small failed orders.

How to find the reason

  1. Read the order notes. On the order screen, most gateways write the decline reason or code under Order notes.
  2. Look up the payment in the gateway's dashboard by order number or email. It shows the decline code and whether its own fraud rules were involved.
  3. Check the logs in WooCommerce → Status → Logs for the gateway's log; many gateways write one only with debug logging switched on.
  4. Compare methods. If one payment method fails far more often than the others, the problem is that method or its configuration, not your shoppers.

What to do about them

  • Reach out. A shopper whose card was declined wanted to buy. A short message with the payment page link, or an alternative payment method, recovers some of these orders.
  • Offer a second method. When cards fail, PayPal or a bank transfer often works.
  • Fix the configuration when failures start right after a change — new keys, a plugin update, a currency or domain change.
  • Stop card testing with your gateway's fraud tools and a challenge for suspicious traffic on the checkout, so the bursts stop before they flood your order list.

Seeing payment failures in StorePilot

  • Payment failures by method, in Ecommerce → Overview: for each method, how many were paid and how many declined — and how many declined shoppers paid on the same site within 48 hours. A failure rate on its own reads as lost money even when part of it was recovered.
  • Rates only where they mean something: a method's rate appears from 20 attempts, so a couple of declines don't read as a broken gateway.
  • The shopper behind each one. A declined checkout stays on the abandoned list as a lead with the contact and cart, and becomes Ordered by itself if they pay later.
  • The visit behind it — a recording, and any error on the payment step.

One limit worth knowing: a card refused inside the payment form, before WooCommerce creates an order, leaves no order — so it isn't counted anywhere as a failed order.

Install the WordPress plugin, see ecommerce analytics, or read about payment failures by method in the docs.

FAQ

Questions about this guide

What does a Failed order mean in WooCommerce?

The payment gateway declined the payment or returned an error. The order exists, but no money was taken. Some gateways set Failed straight away; others leave the order on Pending payment first.

Where do I find why a WooCommerce payment failed?

In the order notes on the order screen, where most gateways write the decline reason, and in the gateway's own dashboard, which shows the decline code. The gateway's log under WooCommerce → Status → Logs has more detail when debug logging is on.

Why am I getting many failed orders at once?

A sudden burst of failed orders with small amounts, often from the same few addresses, is usually card testing: bots trying stolen card numbers against your checkout. Turn on your gateway's fraud tools and add protection to the checkout, such as a challenge for suspicious traffic.

Can a customer pay for a failed order again?

Often, yes — they can retry with another card or method, and many do within a day or two. Reaching out with the payment page link or an alternative payment method recovers some of these sales.

See which payments fail, and who tried again

Install the plugin, and every declined payment arrives with its method, its shopper and the visit behind it.

Start for free

Every feature on the Free plan, for 100 visitors a month. No card required.

Choose a plan

Plans from €29 a month, priced by your monthly visitors and the websites you connect.