#Mustafa
1 messages · Page 1 of 1 (latest)
Yes, sure
sub_1NiDmaJIX39BcHBWjve5s0N8
My objective is -
I need to the difference when the user cancelled the subscription by his own choice and when the subscription cancelled at the end of free trial automatically.
How can I do it through webhooks?
It wasn't cancelled yet, but will be cancelled at period end.
I cancelled it manually through customer portal
Can you help me with this
My objective is -
I need to the difference when the user cancelled the subscription by his own choice and when the subscription cancelled at the end of free trial automatically.
How can I do it through webhooks?
Best is to listed for customer.subscription.updated events and check the https://stripe.com/docs/api/events/object#event_object-data-previous_attributes