#colink
1 messages · Page 1 of 1 (latest)
Hi there, you received two webhook notifications for the same event?
Yes
Created at the same time
There have been situations before where I've gotten repeat webhook notifications because our webhook processor had errors, or timed out, but never have we gotten two duplicate ones sent at the same time.
Let me take a look
Yes, I can see that two same events were sent at the same time.
It's rare but it happens occasionally. I'd suggest you to make your event processing idempotent as advised in the best practices doc https://stripe.com/docs/webhooks/best-practices#duplicate-events
I can try adding some event logging, but then we're at the mercy of how close the two events are sent. If they're sent faster than my system can log an event, they'll still race.
Is there a way to raise this as an issue for Stripe to look into?
Sure I'll report this internally to the owning team.
Thank you, I appreciate that. I'll go write some idempotency code in the meantime.
Also, thank you for your help tonight.
You are welcome 🙂