What happened.
The shop runs on WooCommerce and sells through its own website. One morning the owner noticed that the usual order emails had stopped. Customers could still browse and fill a basket, but at the last step the page spun and nothing happened. Some had tried three times.
What we found, and the technical detail
An update had gone through a few days earlier, along with new versions of several plug-ins. Nobody was sure which one mattered. The owner is not a developer, and the person who had built the shop's theme had moved on.
Every hour the checkout stayed broken cost sales. Trying fixes on the live shop could have made things worse.
We never touched the live shop. We worked on a copy of it, with the payment provider in test mode and customer emails switched off, so nothing real could be charged or sent. Once the copy showed the same fault, we switched plug-ins and parts of the theme off one at a time until an order went through.
The cause was a clash between two things that were each fine alone. A plug-in that adds delivery options had changed how it hands the basket total to the payment step. The shop's theme still used an older copy of the checkout page that did not expect that. The update fixed the plug-in and quietly broke the older page.
Technical detail. An out-of-date copy of a checkout template in the theme did not match the updated plug-in. The part of the page that refreshes the totals after a delivery option is chosen returned an error, so the order button never submitted the order. The smallest fix was to bring that one template in line with the plug-in's current version.