#nihan_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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/1225260557423349820
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Pretty new to stripe, I am sorry if the question comes across , a bit naive.
Oh forgot to add a note:
So I was creating a checkout session for a subscription.. and that's how I was getting the events.
Hi there
Hey
The webhook events are sent at almost same time and unfortunately we can't guarantee the events order
It depends on the internet traffic and connection between your server and Stripe server
But only you can receive your webhook events, correct? Or you have multiple team receiving webhook events
Only I can yes,
but multiple teams can create events in different scenarios..
Okay, then this is probably not the right approach for me to take..(listening for the subscription event creation)
Could you recommend a way for me to figure out when a paid invoice for a subscription is the first payment?
Let's take a step back. If you ignore invoice.paid and only listen to customer.subscription.created, would that work?
You only want the Subscription Id, correct?
yes, that would work however, I have to listen to the invoice.paid to provision my service
In the invoice.paid, you probably want to look at its billing_reason to be subscription_create
That means it's the first Invoice of a Subscription
Okay, let me check again..