#Peppa
1 messages ยท Page 1 of 1 (latest)
Can you share the subscription and/or schedule ID that was canceled?
sub_1NC05AFQMfgrcT9LYWrilgLn
I now see that when I cancel a plan I don't get subscriptioncancelled event, but customer.subscription.updated
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
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.