#Nyxi

1 messages · Page 1 of 1 (latest)

carmine snowBOT
keen zealot
#

Suggestions? Is this something we'll only see in test mode?

#

I guess I could make both webhooks fetch the object and inspect its state from there instead of relying on what the webook tells me

#

(right now I just use created to discard out-of-date updates)

past escarp
#

I believe that you'll only really see that in test mode, though there could be an edge case that I don't know about where the events occur at roughly the same time in live mode too. Your best best would be to make a Retrieve call to get the object's current state for instances where the webhooks happen simultaneously

chrome yacht
#

Stripe's docs usually mention that webhook order cannot be guaranteed, due to both internal loads and network delay; you need to make you handlers reslient to order mis-match.

keen zealot