~learn.
lecture · 15:51 · 4 checkpoints · browser voice

Razorpay: charging exactly once when the bank never answers

How a payment gateway taking over a billion payments a quarter gives every one exactly one final outcome: idempotency records and guarded state transitions, an UNKNOWN state resolved by status checks and settlement files, routing per slice, a double-entry ledger, and webhooks delivered at least once.

01 · Midnight sale
SQ-18 · Razorpay Payment Gateway

Forty thousand thumbs over Pay.

Two seconds to midnight

It's 11:59 and 58 seconds at night.