Jake Short
Jake Short

Reputation: 57

Is customer.subscription.updated a good way to handle the status of a subscription?

I viewed this question, but am still not 100% sure about how to handle recurring subscriptions. I have the following question:

Is it alright to use just the customer.subscription.updated webhook, or is it necessary to use the webhooks such as invoice.payment_succeeded for keeping track of the subscription? Thank you for any help.

Upvotes: 2

Views: 1353

Answers (1)

floatingLomas
floatingLomas

Reputation: 8737

You'll probably want to also keep track of invoice.payment_failed - and possibly invoice.payment_action_required - so you know when those happen; otherwise you should be good, ya. You can read more about it here:

https://stripe.com/docs/billing/webhooks

Upvotes: 1

Related Questions