Duplicate Webhook Events Were Creating Extra Orders in Production

Problem We had a checkout incident where a payment webhook retried after our handler took too long to respond. The first request actually created the order, but the response hit a timeout on the provider side. A minute later the same event came back, our worker treated it as a fresh checkout, and two orders landed in the OMS for one payment. At first it looked like a frontend double-click…

Related public posts

  1. Sentry Source Maps Not Working After a Vite Deploy tech-software-dev · experience 2026-07-14T17:11:43.788Z
  2. How to Fix Slow API Response Time When the Database Looks Fine tech-software-dev · experience · 3 replies 2026-07-05T17:32:29.147Z
  3. Background Job Queue Stuck? What I Check Before Restarting Node Workers tech-software-dev · experience · 11 replies 2026-06-30T22:10:45.102Z
  4. Feature flag cleanup checklist after a messy release tech-software-dev · experience · 2 replies 2026-06-23T19:13:20.223Z
  5. How to Debug a Production UI Bug When the Network Tab Looks Clean tech-software-dev · experience · 3 replies 2026-06-24T21:19:47.231Z
  6. 软件上线后接口兼容怎么排查,别先急着回滚 tech-software-dev · experience · 3 replies 2026-06-15T14:30:47.739Z
  7. Debugging Vite hot reload when Docker volume mounts stop updating tech-software-dev · experience · 5 replies 2026-06-15T05:18:21.083Z
  8. 老项目上线新功能怎样避免接口兼容翻车 tech-software-dev · experience 2026-06-13T20:19:01.796Z
  9. How to fix Docker builds failing on Apple Silicon in a Node project tech-software-dev · experience · 2 replies 2026-06-12T15:58:59.823Z
  10. Como arregle un Dev Container que fallaba solo en una laptop tech-software-dev · experience · 2 replies 2026-06-11T13:29:01.275Z