Double emails, double credits, or a "duplicate key" crash usually mean your handler assumes each event arrives exactly once, in order. Stripe guarantees neither.
created to order events or detect duplicates (source).event.id into a table with a unique constraint. If the insert conflicts, return 200 and stop.invoice.paid arrives before customer.subscription.created, walk through webhook events out of order.If your tests pass but production still double-fulfills, the tests probably mocked the signature check or the database: see green tests, broken production.
Different problem, similar symptom: if the customer was actually charged twice (two payments, not one event delivered twice), see customer charged twice.
Paste your webhook URL. WebhookProof sends 3 harmless test requests and tells you whether Stripe can reach it and whether it rejects unsigned events. If it finds a problem, the $9 fix pack gives you the exact copy-paste fix for your stack (refundable for 14 days).
Run the free checkYes. Stripe says endpoints might occasionally receive the same event more than once and recommends tracking processed event IDs.
No. Stripe does not guarantee ordering. Fetch the latest object state from the API when order matters.
Make fulfillment idempotent: key it on the Checkout Session ID and record completion with a unique constraint so repeat calls do nothing.
Stripe webhook not working? Check these 7 things in order · A customer paid but didn't get access. What went wrong? · No signatures found matching the expected signature for payload · Stripe webhook failing with a 307 or 308 redirect
Last reviewed 2026-11-16. WebhookProof is an independent tool, not affiliated with Stripe, Inc.. Quotes are from the linked documentation.