#Marco Túlio Rocha - Webhooks
1 messages · Page 1 of 1 (latest)
Hello! Webhooks do not have a guaranteed delivery order.
See here for details: https://stripe.com/docs/webhooks/best-practices#event-ordering
Hmm, do you have any suggestions?
Suggestions for what?
Can you provide details about the issue your experiencing or the problem you're trying to solve?
in the case of creation and use of subscription only, what events do you suggest?
We generally recommend listening for the events mentioned in this section: https://stripe.com/docs/billing/subscriptions/overview#subscription-events
ok
What's your issue with the order of the events though?
see this example, before sending a subscription, he sent me a "finalized"
Right. That's normal.
A Subscription generates an Invoice, the Invoice is finalized, then the Invoice is paid, then the Subscription is updated to reflect that payment.
Have a look here: https://stripe.com/docs/billing/subscriptions/overview#invoice-lifecycle
if I manage only "customer.subscription.created" to create the "subscription" and "invoice.paid" to indicate that the subscription is up to date, is that correct?
Not sure I understand. What do you mean by "correct"? The events you listen to depend on your business needs; I don't know what your business needs are, so it's difficult for me to advise you there.
ok
Hi there! Stepping in for @halcyon pike as they need to step away. Give me a moment to catch up.