Skip to content

Jump to…

↑ ↓ to move · Enter to open · Esc to close

Atlas Commerce / DD-142

Review proposed change

Handle expired checkout sessions

Review summary

Decision needed

The 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();

Your decision

Choose an outcome

Use fictional content only. This note stays in this page and clears on reload.

Confirm preview decision

This records a local demonstration only. No pull request will be approved, merged, or sent back to an agent.