#philipp-customerportal-configuration
1 messages · Page 1 of 1 (latest)
Hello 👋
Just to make sure I am on the same page, can you share the screenshot of the UI you're looking at?
Hi, sure! The purple "update plan" button shouldn't be visible, while the confirmation page should still be accessible through a deeplink
Ah so if you disable upgrade/downgrade altogether then the deep link doesn't work either?
Once I have the "Customer can switch plans" toggle switched off, I am getting an error on my app when clicking on the button that's opening the portal session (with the deeplink)
"Request req_oDeHvO63JefPr6: This subscription cannot be updated because the subscription update feature in the portal configuration is disabled."
I see. A workaround here would be to change the portal configuration on the fly to allow for the update when user is being navigated to the "deeplink" vs disable it when they're just being redirected to the portal home page
That configuration would be specific to the user or would it make the update option available to other users until disabled again?
You can specify the configuration ID per portal session request
https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-configuration
As long as you don't set it as default, it should only apply to that one customer session
philipp-customerportal-configuration
Pefect, I'll look into that, thanks! One doubt: Do I need to enable all features manually or are they active by default unless otherwise specified?
When you start using the Configuration API, it's best to be clear and explicit about everything you want really