Checkout drops on launch day
Nov 2025The problem
1 in 12 payment confirmations went missing during a client’s flash-sale launch. Customers were charged but saw no order.
What I tried
Checked the payment gateway: its logs showed every callback delivered. Scaled the API from 4 to 12 servers: the failure rate stayed the same.
The fix
The webhook and the browser redirect raced to write the same order. Added idempotency keys and a row lock. Zero drops since.