#bmizerany_unexpected

1 messages ¡ Page 1 of 1 (latest)

viscid geodeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1469116621284053170

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sweet jacinth
#

Hi there. Can you give me an example Subscription to look at?

viscid geodeBOT
pale steppe
#

Sure. Here is the event evt_1SxcdMGpGU0hqBfTqcnYHhGg

#

Which you can happened ~5s before the entitlements event: evt_1SxcdPGpGU0hqBfTjabntyH1

#

This was also noticible when trying to verify the customer had made the purchase (via the active entitlements api)

#

I was hoping to swtich from checking for subscription events

#

or polling the subscriptions list endpoint

wide skiff
#

Hmm, so to get your integration flow right:
Once the Subscription is created -> List active entitlements API is called for the Customer ?

#

Hmm, unfortunately, there will be a delay as Stripe needs some time to update all related objects after an action is done. e.g. Subscription is created for a Customer.

Behind the scenes, Stripe performs several operations to update these objects in it's database.