Repair an inactive Order button by checking field validation, JavaScript, AJAX, the conditions, the theme and the gateways. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

How do I recognise a WooCommerce order button that does nothing?
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.
A click with no reaction
An endless loading spinner
Back to the top of the page with no message
One signal alone does not prove the cause: “A click with no reaction” can come from “A JavaScript error before submission” just as easily as from “A required field hidden or invalid”. Look for at least two findings that agree before you apply a lasting fix.
Open the browser console
An order button that spins forever or does nothing nearly always means a JavaScript error, or an AJAX request that fails. In the browser's developer tools, the Console tab shows the script errors and the Network tab the response to the wc-ajax=checkout request.
If the response holds HTML or a PHP warning instead of the JSON expected, WooCommerce cannot read it: one notice printed by a plugin is enough to block the checkout. The server's PHP log then names the plugin responsible.
Optimised scripts, reCAPTCHA and custom fields
Minification, combination and deferred-loading tools frequently break the checkout page, because WooCommerce's scripts and the gateways' have to run in a particular order. Exclude the checkout page from those optimisations, then test again.
A badly configured captcha, a plugin adding invisible required fields, or a terms-and-conditions checkbox the theme hides will also block the checkout with no clear message. Test the journey with the Storefront theme and only the payment plugins active, to isolate the component at fault.
Causes to check
For a WooCommerce order button that does nothing, 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.
A JavaScript error before submission
A required field hidden or invalid
An AJAX request blocked by security or caching
No gateway available for the basket
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 order button that does nothing 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
Open the console and the Network tab while you click.
- 02
Step 2
Show the validation errors and test with no checkout customisation.
- 03
Step 3
Check admin-ajax, wc-ajax and the firewall rules.
- 04
Step 4
Test with a stock theme and a simple 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: place an order as a guest and signed in.
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 order button that does nothing, the first measure is “Test the checkout continuously”; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.
Test the checkout continuously
Keep template overrides to a minimum
Version the JavaScript
Do not defer the critical scripts
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 about a WooCommerce order button that does nothing
How do you see the error blocking the button?
Open the browser's developer tools: the Console tab shows the JavaScript errors, and the Network tab the response to the order validation request.
Can an optimisation plugin break the checkout?
Yes, minifying, combining or deferring scripts frequently upsets WooCommerce and the payment gateways. Keep the checkout page out of those optimisations.
How do you isolate the component at fault?
Test with the Storefront theme and only WooCommerce and the payment gateway active, on a staging copy if you can, then re-enable the other plugins one at a time.
How do you check the fix will hold?
Place an order as a guest and logged in. Test every country, shipping method and gateway that matters. Check mobile, consent and the conditional fields. Then watch the logs, the alerts and the relevant metrics for several days.
How to resolve it
If a WooCommerce order button that does nothing 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.

































🍪