#dbjpanda
1 messages · Page 1 of 1 (latest)
Hi 👋
We don't keep an exhaustive list but anything that changes the Subscription object in Stripe will trigger this event.
Well, how can I distinguish if a subscription is upgrading or downgrading or renewing
Renewal doesn't trigger an update to the Subscription. It will trigger an invoice.created event though. As for upgrade/downgrade, the Event and the Subscription object it contains will include a previous_attributes hash showing you what properties changed and what their previous value was.
I recommend using the Stripe CLI to generate and listen for some of these events so you can get an idea of the data we provide.
I am already using the stripe cli and test clock to check if renewal triggers customer.subscription.updated . In my case it does
can you confirm it?
Wait, yes because that will change the latest_invoice property on the Subscription
Can I atleast check any parmenter if payment is successful from customer.subscription.updated
I'm sorry but that sentence is unclear to me. What are you trying to verify and which webhook event are you looking at?
Which field should I check on customer.subscription.updated event to know if customer has paid successfully.