Why does this happen?
Most broken checkouts come down to one thing: the Place order request goes to your server, and the reply that comes back is missing, blocked or unreadable. What the shopper sees, a spinner, a reload or an empty cart, points to the part that failed, so we start from the symptom.
The causes we find most often, in order:
- A cached checkout. WooCommerce asks caching plugins to leave the cart and checkout alone, but a host cache or a CDN rule that caches every page never hears that. Shoppers then get a stored copy of the page with an expired security token, which shows up as “We were unable to process your order, please try again.” or a trip back to the cart.
- Delayed or combined scripts. Speed settings that delay, defer or merge JavaScript can stop the checkout scripts loading in the right order. The button does nothing, or the order summary sits on a spinner.
- A plugin or theme conflict. A checkout field editor, an outdated checkout template in the theme or a recent update to a checkout add-on throws an error. If PHP prints a warning into the reply, the browser cannot read it and the spinner never stops.
- A lost session. If WooCommerce forgets the basket on the way to checkout, shoppers see “Sorry, your session has expired.” or land on an empty cart. The causes are the same as a cart that empties itself, covered in add to cart not working.
- Field rules that no longer match the form. A field is hidden on the page but still marked as required, so the order is rejected with “is a required field” even though the customer filled in everything they could see.
If the checkout page is blank or shows “There has been a critical error on this website”, that is a PHP fatal error; see the critical error fix. If the order reaches the payment step and the card is declined or the gateway reports an error, see payments failing.
Try this first
These checks are safe on a live store. Apart from clearing caches and adding a checkout exclusion in your speed plugin, they change nothing your shoppers see.
- Test it the way a customer would. Open a private window, stay logged out, add a cheap product and go to checkout. Stop before you pay unless you are happy to refund yourself. Note exactly where it fails: the page will not load, the summary keeps spinning, Place order does nothing or reloads the page, or you land on the cart. Copy any message word for word. While you are there, check that WooCommerce, Settings, Site visibility says Live, because Coming soon mode can hide checkout from visitors while you see it normally.
- Purge every cache, then test again. Clear your caching plugin, your host’s cache in the hosting panel and any CDN cache, then place the same test again. Logged-out shoppers should never get a stored copy of the checkout. If yours does, it needs an exclusion rule at that cache layer, not more purging. If your speed plugin delays or combines JavaScript, add the checkout page to its exclusions and test once more.
- Read what WooCommerce recorded. Go to WooCommerce, Status. In the system status report, scroll to the WooCommerce pages section. Your Checkout page should be listed with no red warning. A warning that it does not contain the checkout shortcode or block means the page itself is the problem. Then open the Logs tab and look for a recent
fatal-errorslog, which often names the plugin at fault. Finally, under Settings, General, the WordPress Address and Site Address should normally match and both start with https. If they do not, write it down but leave them alone, because a wrong value there can lock you out of wp-admin. - Look for a warning on the Checkout block. Edit your Checkout page. If it uses the Checkout block, select it and read the settings sidebar. A notice about an incompatible extension means one of your plugins is not built for the block checkout. That is a strong lead for whoever fixes it.
Stop and hand it over if the log names WooCommerce or your payment plugin, if only some customers are affected, if the next step is switching plugins off on a live store, or if a customer may have been charged without getting an order. Our WooCommerce checkout guide explains each symptom in more depth.
Does it matter whether I use the Checkout block or the shortcode?
They fail in different ways. Stores set up since WooCommerce 8.3 get the Checkout block by default, while many older stores still run the [woocommerce_checkout] shortcode or a Classic Checkout placeholder. The block places orders through WooCommerce’s Store API, under /wp-json/wc/store/, so a security rule that restricts the REST API can break it while the shortcode checkout keeps working. Field editors and older add-ons built for the shortcode often do nothing on the block, or leave a hidden field required.
Switching between the two can be the fix, but not automatically. Custom fields, field order and some payment methods do not carry across, so we check what each extension supports before switching and confirm it with a real order afterwards.
Why does checkout work for me but not for my customers?
Because you are not seeing the same page. Logged-in administrators usually skip the page cache and Coming soon mode, and you already have an account, so the guest checkout setting never applies to you. If guest checkout is switched off under WooCommerce, Settings, Accounts and Privacy, guests are asked to log in or create an account before they can pay. Phones add autofill and the built-in browsers of social apps. That is why we reproduce every fault as a logged-out guest, on phone and desktop, before changing anything.
Not sure which problem you have? Browse every fix on the Fix WordPress page.
