

A WooCommerce pending payment order that never moves is the most expensive quiet failure a store can have. The card was charged, the money is in your gateway account, and WooCommerce still believes nobody paid. Nothing gets picked, nothing gets shipped, and the first person to notice is usually the customer, several days later, asking where their parcel is. The good news is that woocommerce order stuck pending cases share one root cause, and it is findable in about ten minutes.
Pending payment is not an error. It is the status every order receives the moment a customer clicks the place order button, before any gateway has confirmed anything at all.
The order exists, the line items are stored, and WooCommerce is waiting to be told what happened. Where it goes next depends entirely on a signal arriving from outside.
WooCommerce order status map
| Status | What WooCommerce believes | Stock | Typical cause |
|---|---|---|---|
| Pending payment | Order created, payment not confirmed | Not reduced | Customer abandoned, or the confirmation never arrived |
| Failed | Payment attempted and rejected | Not reduced | Declined card, gateway error, failed verification |
| On hold | Awaiting an offline or manual payment | Reduced | Bank transfer, check, some gateway states |
| Processing | Payment received, order not fulfilled yet | Reduced | A normal successful order |
| Completed | Fulfilled | Reduced | Set manually, or automatically for downloadable goods |
Some pending orders are completely normal. Shoppers reach the gateway, change their mind, and close the tab, which is why WooCommerce also has a hold stock timer that cancels unpaid orders after a set number of minutes.
The dangerous variant is different: the payment succeeded at the gateway, and only WooCommerce does not know.
Nothing that happens in the customer's browser is what marks an order as paid. The redirect back to your thank-you page is convenience, not proof.
The authoritative signal is a server to server message sent from the gateway directly to your site. Modern gateways call it a webhook. Older PayPal integrations call it IPN, or Instant Payment Notification. The mechanics are identical: the gateway posts a small payload to a URL on your domain, your gateway plugin verifies that the payload is genuine, looks up the matching order, and moves it to processing.
Browser redirect versus server callback after a WooCommerce payment
Split-path diagram titled Two things happen after a customer pays. Top lane Browser redirect runs through Customer pays at gateway, Redirect back to order received, and Fragile tab closed, app switch, 3DS timeout. Bottom lane Server callback webhook or IPN runs through Gateway posts to your site, Plugin verifies signature, and Order moves to processing. Only the bottom lane changes the order status. Footer: Order stuck on pending means the bottom lane never completed.
That distinction is the whole article. Customers close tabs, mobile banking apps swallow the return journey, and bank verification screens time out on the way back, so the redirect fails constantly and harmlessly. When the callback fails, though, the order freezes on pending payment with no error anywhere in the WooCommerce admin, because from WooCommerce's point of view nothing happened.
PayPal deserves its own note here, since its IPN and webhook setup has more moving parts than most and fails in its own particular ways. Our guide to PayPal not working in WooCommerce covers those specifics.
Do not mark paid from the thank-you page
Before changing any setting, prove which side is wrong. The comparison takes a few minutes and tells you whether you have a payment problem or a notification problem.
Step five is where the answer usually is. A gateway that logs 403, 404, 500, or a timeout has told you exactly what is wrong, and the remaining sections are just a translation of those responses into fixes.
If the gateway logs no delivery attempts at all, the endpoint does not exist as far as the gateway is concerned, which points at Cause 2.
A gateway callback looks nothing like normal traffic. It is a POST request from a datacenter IP, with no cookies, no referrer, no browser fingerprint, and no session. Security tooling is designed to be suspicious of exactly that.
Common blockers, roughly in order of how often they cause this:
The tell is a 403 in the gateway delivery log, or a 200 response whose body is a challenge page rather than your site normal output. CDN and WAF layers, including Cloudflare blocking WooCommerce checkout, often block gateway POSTs before WordPress runs. Fix it by allowlisting the callback URL path in the firewall, and by allowlisting the gateway published sending IP ranges where your firewall supports it. Allowlist the specific path rather than switching protection off.
This is the most common cause on stores that worked yesterday and stopped today, because it is created by ordinary maintenance rather than by anything breaking.
An endpoint drifts out of alignment whenever the site address changes: a move from staging to production, a switch from http to https, adding or removing www, a domain change, or a restore from a backup taken before the endpoint was configured. Some gateways also disable an endpoint automatically after a long run of failed deliveries, so a firewall problem you fixed weeks ago can leave a permanently silent endpoint behind. In other cases the endpoint was never created at all, because the plugin documentation assumed you would add it manually and the store worked fine in testing, where the redirect happened to complete every time.
Open the webhook or IPN configuration in your gateway dashboard and compare it character by character with the callback URL shown in your WooCommerce gateway plugin settings. Check the protocol, the www prefix, the trailing slash, and the events the endpoint is subscribed to, since an endpoint that exists but only listens for refunds will never confirm a payment. Then send a test event from the gateway and confirm it arrives with a 200.
Check staging gateway keys
When the URL is right and the request arrives, verification is the next thing that can fail. Gateways sign each callback, and your plugin rejects anything whose signature does not match the secret it holds.
Secrets fall out of sync in a handful of predictable ways:
A signature failure typically shows up as a 400 or 401 in the gateway's delivery log, and as a rejected or invalid signature entry in the plugin log. The fix is to regenerate the signing secret, paste it into the plugin, save, and resend a recent event.
Mixed test and live credentials are worth ruling out early, because live payments then post to an endpoint holding test keys and every callback fails verification. Keep staging and production gateway keys on separate sites.
Sometimes the callback arrives, is genuine, and still fails, because your site cannot process it. The gateway's delivery log names the failure precisely.
Gateway delivery log to likely cause
| What the gateway logged | What it usually means | Where to look |
|---|---|---|
| 403 Forbidden | Firewall, bot rule, or maintenance mode | Cause 1 |
| 404 Not Found | Wrong URL, or the gateway plugin is deactivated | Cause 2 |
| 401 or 400 | Signature or secret mismatch | Cause 3 |
| 500 Internal Server Error | PHP fatal error while handling the callback | Server error log, plugin conflict |
| 301 or 302 redirect | Protocol or www redirect the gateway did not follow | Site URL settings |
| Timeout, no response | Overloaded server, slow queries, resource limits | Hosting metrics, PHP execution time |
| 200 but the order never moves | Received and discarded, or the order could not be matched | Plugin log, order transaction ID |
The 500 row deserves attention because it is often collateral damage from an update or a database fault. If logs mention a missing table or connection error, read WooCommerce fault code not found database before you chase the gateway. A gateway plugin, WooCommerce core, or PHP itself gets updated, some incompatible code throws a fatal error on the callback path only, and the storefront looks completely healthy while every payment confirmation dies.
The last row is the sneakiest of them all. A 200 means your site accepted the message, so the gateway stops retrying and marks delivery as successful, and only the plugin log will show that the payload was discarded because no matching order could be found or the transaction ID never got stored.
Not every status change happens the instant a callback lands. WooCommerce queues a lot of work through Action Scheduler, and delayed status transitions, retries, and gateway follow-up checks all sit in that queue waiting for a background run.
If scheduled tasks are not running, those queued actions never execute and the orders they would have updated stay pending indefinitely.
The reliable setup is to disable WP-Cron and run a real system cron every minute or five minutes. On a low traffic store WP-Cron is particularly unreliable, because it only fires when somebody visits the site, and quiet stores are exactly the ones where a stuck order goes unnoticed longest.
While you fix the cause, the orders already stuck still need to ship. Do that carefully, because manually advancing an order is you personally asserting that the money arrived.
For a handful of orders this is fine. For fifty, it is a full afternoon and a real risk of shipping something unpaid.
Never bulk-complete pending orders
Stuck orders are discovered late because nothing about them is loud. There is no error page, no failed payment alert, and no gap in your dashboards. The store looks perfectly healthy while the one path that turns money into shipments is broken.
Two habits close that gap.
The first is reconciliation: compare your gateway's successful payment count against your WooCommerce order count on a fixed schedule, daily for a busy store. A mismatch is the earliest reliable signal you get.
The second is testing the path itself rather than waiting for a customer to walk it. Place a real order through your live checkout on a schedule and confirm that it reaches the order received page and lands in admin with a paid status.
Scheduled checkout test and daily reconciliation loop
Circular loop infographic titled Catching stuck orders early. Four nodes arranged clockwise: Scheduled browser checkout, Order received page reached, Order visible in admin, Alert if the path breaks. A dashed inner arrow labelled Daily reconciliation: gateway payments vs WooCommerce orders connects the first and third nodes. Footer: The failure is silent, so the check has to be scheduled.
ShopMonitor runs that checkout on a schedule for you, in a real browser, and alerts you when the path stops working. A scheduled run covers:
1
2
3
ShopMonitor verifies the browser checkout and thank-you path, not whether a message landed in an inbox. Inbox delivery is a separate check. What it gives you here is the difference between finding a broken callback within a day and finding it when a customer asks where their order is.
ShopMonitor runs automated checkout and form tests every day and alerts you the moment something breaks. No code changes. No plugins. Setup in 5 minutes.
No credit card required.

About the author
Written by the team at Winning Solutions, the agency behind ShopMonitor. We help WooCommerce stores find why paid orders stay on pending payment, then verify the checkout path still reaches a paid status before the next customer hits it.