Live payment-failure demo
A real Razorpay test-mode checkout that, when the payment fails or is abandoned, runs Recover's full pipeline — detect → classify → Payment Link → drafted email → sent email — on that live event, and shows the audit timeline below as it happens.
How to test
Razorpay Checkout is running in test mode — no real money moves. To trigger the Failed payment scenario, pick any payment method in the modal and, on the simulated success/failure screen Razorpay presents, choose Failure (also labelled Fail on some flows). To trigger the Abandoned checkout scenario, open the modal and close it without paying.
Refer to Razorpay's Test Card Details documentation for the current test card numbers if a method prompts for one — the numbers change occasionally, so check the docs rather than hardcoding.
- Amounts ≥ ₹5,000 are held for human review (a real merchant guardrail) — the timeline will show
pending_human_approvaland stop there instead of sending an email. - The same email used 3× in a day trips the
MAX_CONTACTS_PER_CUSTOMER_PER_DAYcap on the third send. - If Brevo isn't configured the email doesn't leave, but a
DeliveryAttemptrow and the timeline entry are still written so the audit trail is complete.