Checkout errors and a slow cart
I fixed the delivery error and cut the median basket update from 3.38 s to 0.35 s.
I built the shop shown here and checked its saved orders without taking payment. The confirmation above is the result of submitting checkout, with the product, quantity, delivery charge and total preserved.
Case 04 of 10 in WordPress fixes
What was wrong
- Changing the quantity left the basket waiting.
- Checkout rejected a supported UK delivery address.
- The delivery code repeatedly requested the same information, then read the wrong field in the reply.
What I did
- I traced the basket delay and checkout message to the delivery code.
- I corrected the field it read and reused valid delivery information for five minutes.
- I kept delivery restrictions and checkout validation active.
- I checked the receipt against the saved order: two cups, £48 merchandise, £4.50 delivery and £52.50 total.
Proof
Checkout now reaches this confirmation:

Watch the successful checkout · Watch the original delivery error · Read the saved orders.
I checked the flow five times before and five times after the repair. All five repaired submissions saved the correct order. Billing details are hidden in the recordings. Invalid email and postcode entries were rejected without creating another order.
| Measure | Before | After |
|---|---|---|
| Basket update, median | 3.38 s | 0.35 s |
| Basket range (s) | 3.17–3.54 | 0.31–0.57 |
| Checkout response, median | 2.13 s | 0.83 s |
| Checkout range (s) | 2.04–2.27 | 0.68–1.22 |
| Saved checkout checks | 0 | 5 |
These timings measure this repair under the recorded conditions: the same basket and browser settings, with the same delivery-service delay. Your shop’s timings will depend on its own cause and hosting. I would trace the slow request and checkout error there, then check the resulting saved order before calling the repair complete.
Files: before screenshot · after screenshot · before animation · after animation · full run log · claim sources.
Repair: original code · fixed code · patch. Content and checkout-data origins explain the shop content and generated inputs.
Try it yourself
You can watch the checkout using the recording links above without installing anything.
For a developer who wants to repeat every check, run this from the case folder with Docker installed:
./run.sh
The command rebuilds the shop, reproduces the error, applies the repair and checks the saved orders. It writes fresh evidence into proof/ and media/, then removes the shop. The technical guide also explains how to browse each state locally.
The Playground blueprint is available for inspection; a complete checkout has not been verified there. The browser observation records that limitation.
How it is tested
- I require the original checkout and basket checks to fail, then the same checks to pass after the repair.
- I verify the receipt and the saved product, quantity, shipping, total and on-hold order status using WooCommerce’s local cheque method.
- I check invalid input, cache expiry, service timeouts and malformed replies.
The GitHub workflow runs these checks and retains their output. Its definition is also kept with the case.
Fixed price for this kind of job: £75 (Site speed, £75, 3 working days), see https://ardholt.com/p/prices/.
Maintained by Genco Doganay, Ardholt · All 10 cases · Licence