-
Testing
Test that my webhook handlers survive duplicate delivery
Prove webhooks processed twice (which providers do on purpose) don't double-charge, double-grant, or double-email.
Free Prompt
What This Does / How This Helps
This tests your webhook handlers against duplicate and out-of-order delivery, the two behaviors every webhook provider exhibits, and drives fixes like event ID tracking where handlers aren't idempotent. Stripe's docs say plainly that events can arrive more than once and occasionally out of order. A handler that grants access or sends a receipt on every delivery will double-email customers and double-grant entitlements within the first week of real traffic. Idempotency is boring infrastructure that prevents a class of bugs that looks, to a customer, like you don't know what you're doing.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).