When making a portal session in stripe, is it then possible to make multiple portals?

Hi again bubblers

jeez all this API about stripe is a hole new learning process for me.. and thank you everyone there have helped me on the way to understand and learn about how API works

Right now, I’m facing another issue that i cant seem to find any data on in the docs.. Or at least, not that I understand..
I want to make a portal session, so my users can modify the subscription. I already have a portal session made, with an API call, and that works almost as it should.. Only struggle here is that they also can change seat subscriptions to a main subscription.. And that is not intended.. So is there anyone there to know if it is possible to make a portal session for each product with 2 different portal links?

I believe in the Stripe dashboard you can control what they can do from the portal.

yeah but thats just the default one.. i need 2 different configurations for each of the subscription they have so they cant change secondary products to main products and main products to secondary products

When you create the session via the API Connector, pass the configuration ID into the API call and it’ll use that configuration.

yeah but what i didnt understand was how to configurate the portal so it only shows 1 of the products and another portal there shows the second product

so there will be 2 portal links.. one for each product so that they work seperatly and cant get in cambolage with each other

Use stripe customer portal for one class of product management and use stripe pricing list tool for another class of product management. Hope it helps

hi @siddharth
hmm.. noo that doesnt make sense :sweat_smile:
what is the pricing list tool?

Embeddable pricing table for subscriptions | Stripe Documentation.

oooh.. that one.. that doesnt work for me unfortunate.. i tried that to begin with but was so limited instead of make my own price table setup..

right now i have this setup to display the active subscriptions that the users have.. but when i click to manage subscription and get in to the customer portal


i can update the secondary subscription called “medarbejder sæde” to a main subscription of basic or pro.. and that shouldnt be possible.. the secondary subscription should only have the option to change the quantiy of them

Then you to change the settings of the stripe customer portal where you shouldn’t be displaying that secondary product.

yeah.. thats also what i thought.. but then i wanted to create an extra portal where only the secondary product is displaying.. and not any main products

im trying now to make a new portal configuration with an API and then in hope i can use that portal configuration id in the portal session


but im getting this error i dont understand.. im following there API here: Create a portal configuration | Stripe API Reference

and i want to use the array: features.subscription_update.products to define what products there can be updated

but it says its a invalid array..???

this is my setup:

This topic was automatically closed after 70 days. New replies are no longer allowed.