#nicolas-z_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/1361300840748548127
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- nicolas-z_webhooks, 25 minutes ago, 8 messages
- nicolas-z_webhooks, 1 hour ago, 6 messages
- nicolas-z_webhooks, 2 days ago, 17 messages
I found that when user create subscription at the first time, the invoice.payment_succeeded callback soon after the customer.subscription.created, but when the times comes to next cycle, the event customer.subscription.updated callback immediately, and after three days the invoice.payment_succeeded event comes
an example for that:
user first subscription: https://dashboard.stripe.com/workbench/events/evt_1R74O3FCfMrF7Me19eKX18kd
user first payment succeed: https://dashboard.stripe.com/workbench/events/evt_3R74NzFCfMrF7Me11984sG4S
user second subscription cycle: https://dashboard.stripe.com/workbench/events/evt_1R74O3FCfMrF7Me1FNx5PaFM
user second subscription payment succeed (3 days after second cycle starts): https://dashboard.stripe.com/workbench/events/evt_1RAhADFCfMrF7Me1nDKH2Vju
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I suspect it's related to this:
When you enable automatic collection, Stripe automatically finalizes, and begins automatic collection of the invoice. We wait 1 hour after receiving a successful response to the invoice.created event from all listening webhooks before attempting payment. If we don’t receive a successful response within 72 hours, we attempt to finalize and send the invoice.
so do I need to implement the invoice.craeted event, to make the payment comes immediately?
No, it's because you're listening for invoice.created events but not immediately acknowledging them, like this one: https://dashboard.stripe.com/events/evt_1R9bj9FCfMrF7Me1csJTgo0u
It's still pending, so we wait 3 days before finalizing
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so I can like close the event callback of 'invoice.created', then it would finalize it immediately, right?
When your webhook responds with a 2xx success then we'd finalize within an hour yes
Right now it isn't, so we wait 72 hours
there are some settings for what events would be dispatcherd to our backend service, if I disselect the invoice.created event, it would finalize automatically, right?
If you don't need that event then yes just stop listening for it, and we'd finalize within an hour
so the best practice is not selecting all events, right? just select the event that we handled
Exactly