FixedBug, high impact.
Confirmation without an order
Your decision
Bug confirmed. Fixed in shop-0.18.4
Reproduction
Before fix · shop-0.18.3
Step 1 · 00:00 · Fresh checkout
demo-shop.example/cart
Your cart
Canvas tote × 1$24.00
DeliveryCalculated later
Step 2 · 00:14 · Double-click Place order
demo-shop.example/checkout
Place order, clicked twice
POST /api/orders00:14.01, DS-4821Canceled
POST /api/orders00:14.18, DS-4821409 checkout locked
Step 3 · 00:15 · Confirmation shown
demo-shop.example/checkout
Order confirmed
DS-4821
Step 4 · 00:20 · Order lookup
demo-shop.example/admin/orders
GET /admin/orders?reference=DS-4821
No matching order
0 records at 0s, 2s and 5s
Expected
Rule: Confirmed means saved
A confirmation means the order is saved.
Actual
Before fix · shop-0.18.3
Confirmed on screen, never saved.
What the customer saw
Browserdemo-shop.example/checkout
Demo shop
Order confirmed
DS-4821
Canvas tote × 1$28.00
What was saved
Order lookupGET /admin/orders
?reference=DS-4821
No matching order
- No record at 0 seconds
- No record at 2 seconds
- No record at 5 seconds
- No record in the database
How this was checked
- Requests
00:14.01 POST /api/orders · DS-4821 · Canceled00:14.18 POST /api/orders · DS-4821 · 409 checkout locked- Sources
- Browser recording, network trace, order lookups at 0, 2 and 5 seconds, read-only database check.
- Limits
- Only the double click lost the order; click and keyboard saved. The trace shows the mismatch, not its cause in the code.
After fix · shop-0.18.4
The same double click, confirmed and saved.
What the customer saw
Browserdemo-shop.example/checkout
Demo shop
Order confirmed
DS-4822
What was saved
Order lookupGET /admin/orders
?reference=DS-4822
1 matching order
Recheck after fix
Same behavior: double-click on Place order
| Check | Run 1 · before fix | Run 2 · after fix |
|---|---|---|
| Confirmation shown | Passed | Passed |
| Order saved | Failed | Passed |
Run 2: order DS-4822 on shop-0.18.4, 18 Oct