Atlas Commerce / DD-142
Review proposed change
Handle expired checkout sessions
Review summary
Decision neededThe implementation meets the recorded acceptance criteria. Verification passed. One non-blocking note remains for your judgement.
Note · Copy clarity
Make the retry action explicit
The button reads “Try again”. Consider “Restart payment” so customers understand that their basket is preserved but a new payment session will begin.
Reviewer: Codex · Not a blocking finding
Changed files
checkout/recovery.ts
Basket recovery · 18 additions · 4 removals
checkout/recovery.test.ts
Expiry and retry tests · 42 additions
checkout/payment-form.ts
Recovery message and focus · 12 additions · 3 removals
Inspect recovery diff specimen
Illustrative excerpt, not a complete implementation.
- clearBasket();
- redirectToCart();
+ preserveBasket();
+ showRecoveryMessage("Your session expired. Your basket is safe.");
+ focusRecoveryAction();