#arrowcircle

1 messages · Page 1 of 1 (latest)

limber ridgeBOT
versed dock
#

The event IDs should be unique. However, you'd likely need to handle a scenario where webhook delivery fails and Stripe retries it

In that case the ID would be the same

ebon star
#

thats the idea, I want to store event id in redis for short term idempotency, and if it's ok, then write it to the permanent event store and I am worried, that I will have collision by id with uuid5 based on event id

#

or what is the reasonable time to check idempotency for the webhooks?

versed dock
#

There's no specific timeframe exactly, as if Stripe fails delivery multiple times then it'll retry it with exponential back-off

ebon star
#

ok, thanks