#stevel705
1 messages ยท Page 1 of 1 (latest)
Sub_ID: sub_1N91r6IncHoWVsxjch5vJqY5
I'm just figuring out how to work with stripe. And I'm trying to properly work out the cancellation of the subscription in stripe and in my service.
It won't cancel right away but cancel_at_period_end: true
So, this billing cycle is the last one, and then it will be cancelled.
How do I process in the webhook that the customer canceled the subscription and that it will be cancelled in a month?
Hi there ๐ also taking a look. You can configure whether the Customer Portal immediately cancels Subscriptions, or schedules them to cancel at the end of the current billing period.
You set that via features.subscription_cancel.mode if you're using the API to create your configurations:
https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_cancel-mode
Or in your dashboard if you're using your default portal configuration:
https://dashboard.stripe.com/test/settings/billing/portal
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.
Ok. Thanks
Any time!