#cbol-sub-end-date
1 messages · Page 1 of 1 (latest)
Hi there! No, you would want to listen to invoice.paid to know there was a successful renewal.
A Subscription could update for numerous reasons that don't have to do with payment at all.
I'd take a look at https://stripe.com/docs/billing/subscriptions/webhooks#tracking
Ok, but the invoice.paid event doesn't contain the information about the new end date of the subscription, while the subscription object does contain this information.
Correct, you would likely want to retrieve the Subscription from your Webhook handler.
Based on the Invoice
That's a great idea. I can assume that when the invoice is paid, the subscription end date will be up to date?
Yep, when the invoice.paid event fires then the invoice is paid then there should be a new end_date on the Sub when you retrieve it and you can examine it for the next period
Thank you so much!