ARDHOLT WordPress Fixes · all cases

Checkout errors and a slow cart

Before: checkout says 'Delivery could not be confirmed. Please try again.' and the basket update takes 3.38 seconds. After: 'Thank you. Your order has been received.' with a £52.50 total, paid by local test payment, and a 0.35 second basket update. Actual captures from the test shop; no card charged.

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

What I did

Proof

Checkout now reaches this confirmation:

The actual checkout confirmation says the order has been received and shows the £52.50 total with a local payment method.

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

Tests

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