|
|
|
Ask HN: How do you test payment webhook edge cases? |
|
1 point by jalalmanafi 5 minutes ago | hide | past | favorite | 1 comment |
|
I work at a PSP. We recently had a production bug where a payment succeeded but our system didn’t update — the webhook was delayed 45 seconds.
Stripe’s test mode doesn’t simulate delays, timeouts, or webhook failures. We ended up writing internal mocks, but it’s tedious.
Considering building a simple tool: configurable delays, webhook failure simulation, request timeline.
Curious how others handle this. Do you just write custom mocks? Accept the risk? Use something I don’t know about?
|
|
|
|
 Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact |