#mat4b
1 messages · Page 1 of 1 (latest)
hi! events can arrive in any order ; https://stripe.com/docs/webhooks#event-ordering
Ok, the only problem is how to get the correct subscription status then? From "updated" I got "active", and then "created" overwrote my status to "inactive"
when you recieve the event you can retrieve the object from the API, and that always gives you the current status
generally it's best to treat the event as "a notification something happened, now I'm going to call the API to get the current state" than to read the details from the event itself(which is a snapshot)