#MaggyD - Webhooks
1 messages · Page 1 of 1 (latest)
Hello! Let's keep all the context in this thread please. 🙂
For Subscription cancellation the event is customer.subscription.deleted: https://stripe.com/docs/api/events/types#event_types-customer.subscription.deleted
Ok, i see...
I was confused because it seemed like, or how I was reading it, that this event occurs when a customer like does the action of deleting it... but now I see that it means when the actual subscription ends
date wise
Thank you
Happy to help!
How do I connect a stripe checkout session for a subscription to the subscription, like metadata wise?
Or is there some id that connects them,?
Checkout Sessions have a subscription property that points to the associated Subscription: https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-subscription