#Peppa

1 messages ยท Page 1 of 1 (latest)

swift driftBOT
simple basin
#

Can you share the subscription and/or schedule ID that was canceled?

iron pond
#

sub_1NC05AFQMfgrcT9LYWrilgLn

#

I now see that when I cancel a plan I don't get subscriptioncancelled event, but customer.subscription.updated

silver nova
#

Hi @iron pond ๐Ÿ‘‹ apologies for the delay, the type of Event you get will depend on whether you've configured the Customer Portal to cancel Subscriptions immediately or schedule them to cancel at the end of their period.

If you're using your default portal configuration, then you can view and change that setting in the Cancellations section here:
https://dashboard.stripe.com/test/settings/billing/portal

If you're managing your portal configurations via the API, then features.subscription_cancel.mode is the parameter that controls that behavior:
https://stripe.com/docs/api/customer_portal/configurations/update#update_portal_configuration-features-subscription_cancel-mode

swift driftBOT