#Moshe
1 messages · Page 1 of 1 (latest)
Yes, you disable that in the Portal Configuration
https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_cancel
Can this be set dynamically without it being tied to a Portal Configuration?
Kind of, you can specify the type of flow you want your customer to go through and if you send payment_method_update they won't be able to cancel
https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-flow_data
But that only allows them to update their payment. They are unable to see their previous invoices, etc.
Right, if you want that you can generate a Portal Configuration. This can also be done via the API so you can have multiple configurations that you use for different scenarios: https://stripe.com/docs/api/customer_portal/configurations/create
Thanks 🙏