Diagnose a blocked WooCommerce payment by checking the checkout, the gateway, the keys, HTTPS, webhooks, caching, logs and orders. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

How do I recognise a WooCommerce payment that has stopped working?
The WooCommerce checkout depends on the browser, the cache, the session, the plugins, the calls to the gateway, the webhooks and the scheduled tasks. The diagnosis has to follow an order from end to end without making any irreversible change to the live shop. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.
Place a complete order with a customer account and as a guest, on desktop and on mobile. Note the message shown, the step where the journey stops and the exact time: that is what lets you find the event in the logs.
An error at the moment of payment
The gateway missing from the checkout
Payment accepted but the order never confirmed
One signal alone does not prove the cause: “An error at the moment of payment” can come from “Wrong API keys, test mode or currency” just as easily as from “A JavaScript clash, or checkout validation”. Look for at least two findings that agree before you apply a lasting fix.
Following a test order end to end
Turn on the gateway's test or sandbox mode, then place a complete order, noting each step: adding to the basket, the checkout page, the redirect or payment window, the return to the site, the order's status. Where the journey stops tells you which layer is at fault: the front end, the gateway, or the callback.
Open WooCommerce > Status > Logs: most gateways write a log of their own once logging is enabled in their settings. API errors, invalid keys and authentication refusals all appear there, time-stamped.
The common causes on the server side
A payment accepted at the provider but an order left pending nearly always means a webhook that is not arriving: a URL changed after a migration, a firewall blocking inbound requests, a maintenance page still on, or an invalid SSL certificate. The provider's dashboard lists the notifications it sent and the response code it got.
Check the PHP version too, the cURL extension, and support for recent TLS versions, all of which you need to reach the payment APIs. The WooCommerce > Status report shows that information and flags what is missing.
Causes to check
For a WooCommerce payment that has stopped working, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the site’s most recent change first, one at a time.
Wrong API keys, test mode or currency
A JavaScript clash, or checkout validation
A webhook blocked or misconfigured
Caching applied to the basket, checkout or account
The WooCommerce logs (Status > Logs), the scheduled actions, the webhook history and the payment provider's dashboard show whether the request left the shop, whether it was declined, or whether the confirmation never came back.
A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
Precautions before starting
Back the files and the database up, then export the list of orders and payments for the period in question, without copying any card data.
If the shop is still selling, keep the testing short and avoid replacing the database while orders are coming in: a restore would wipe the recent sales.
Which cause best matches your situation?
Pick the situation closest to what you are seeing to get the first recommended action.
Want a human opinion on your exact situation?
Get a recommendationDiagnosis and fix
| Phase | Objective | A mistake to avoid |
|---|---|---|
| Observe | Reproduce it and gather the evidence | Changing several settings before you have a baseline |
| Isolate | Confirm the component or the rule responsible | Deleting files without keeping a copy |
| Fix | Apply the smallest documented change | Restoring a version that still contains the same cause |
| Validate | Test the whole journey and monitor it | Concluding from the home page loading alone |
How do I resolve the problem?
The 4 steps below tackle a WooCommerce payment that has stopped working from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.
- 01
Step 1
Reproduce it with a low-value order in a test environment.
- 02
Step 2
Read WooCommerce > Status > Logs and the gateway's own dashboard.
- 03
Step 3
Check HTTPS, the keys, the webhook URL and the cache exclusions.
- 04
Step 4
Disable the plugins that changed recently, then retest with a single gateway.
If a step changes the database or the code directly, do it on a copy first. Once the fix is in place, the first check is still this: confirm the payment, the order creation and the right status.
Validate the resolution
Validate the whole journey: adding to the basket, choosing shipping, payment, the order being created, stock updating, and the emails arriving for both the customer and the shop. Finally, reconcile the orders against the payments taken during the incident.
Validation checks
Watch the pending orders and the webhooks for a few days, above all at the busiest hours.
Prevent a recurrence
Prevention has to answer the cause you identified. For a WooCommerce payment that has stopped working, the first measure is “Test the checkout after every update”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.
Test the checkout after every update
Monitor the webhooks
Keep the dynamic pages out of the cache
Keep an alternative payment method
Place a real order after every update to WooCommerce, the theme or a payment gateway, and keep an alert on orders left awaiting payment.
Frequently asked questions
The customer paid but the order stays pending, why?
The payment confirmation the provider sends, the webhook, is probably not reaching the site: a changed URL, a firewall, maintenance mode or an invalid SSL certificate. The provider's dashboard shows the responses it got.
Where do you find the payment errors in WooCommerce?
In WooCommerce > Status > Logs, provided logging is enabled in the gateway's settings. The API and authentication errors are time-stamped there.
Can you test without charging a real card?
Yes, most gateways offer a test or sandbox mode with dummy cards. Do turn it off after testing, or real payments will fail.
How do you check the fix will hold?
Confirm the payment, the order being created, and the right status. Test as a logged-in customer and as a guest, on mobile and desktop. Check the webhook arrived and no duplicate was created. Then watch the logs, the alerts and the relevant metrics for several days.
How to resolve it
If a WooCommerce payment that has stopped working persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.
Get a diagnosisSummary with an AI
Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

































🍪