#kelly-bleck_unexpected
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1222000314039668807
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- kelly-bleck_unexpected, 1 hour ago, 5 messages
So I'm locked out of making changes to the Customer Portal settings because the Pause Subscription button is checked. But I can't uncheck it...
Is there a way to re-configure the portal through the API, so that option is unchecked? I'd like to allow users to modify their subscriptions through the portal
Are you still seeing pause option in the customer portal?
Yes - it's checked at the bottom left of the screenshot I sent above
And if I try to edit any other settings, I'm unable to save due to the error seen in the screenshot too - but I can't uncheck the Pause payment collection because it's always disabled
Do these settings affect the portal that's created by stripe.billingPortal.sessions.create
This is the billing portal configuration page, not the actual billing portal. What I mean is that in the customer portal that sent to customer, is the pause option still shown?
Do these settings affect the portal that's created by stripe.billingPortal.sessions.create
Yes
This is the portal that the user visits when using stripe.billingPortal.sessions.create
I see! Thanks for sharing the details. This channel is for technical integration question via API and don't have the necessary expertise to help you with Dashboard setting. Can I suggest you writing to Support https://support.stripe.com/contact, so that they can check with relevant team on how to disable this option in the Dashboard?
I can do that! Wasnt sure if there was a way through the API
After testing, it is possible to disable via API. The steps will be:
- Use list portal configurations API to find out the configuration ID: https://docs.stripe.com/api/customer_portal/configurations/list
- Update the configuration using Update a portal configuration API (https://docs.stripe.com/api/customer_portal/configurations/update) with
features.subscription_pause.enabledto false: https://docs.stripe.com/api/customer_portal/configurations/update#update_portal_configuration-features-subscription_pause-enabled
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sweet! I'll try that, thank you!