#andygee
1 messages · Page 1 of 1 (latest)
Hi
How you are allowing your customers to cancel their subscription ? using Customer Portal?
in general you can find details here:
https://stripe.com/docs/api/subscriptions/object#subscription_object-cancellation_details
The customer portal
You can fetch the subscription details when you receive customer.subscription.updated event and check the field I mentioned above or you can monitor the even customer.subscription.deleted also
Thanks!
Actually you'll receive customer.subscription.deleted event only when customer cancel their subscription using Customer portal.