#gsw
1 messages · Page 1 of 1 (latest)
I mainly want to configure that
customer group A can only buy Subscription A and B
customer group B can only buy Subscription X and Y
when they login into their stripe billing
Do you mean billing page in Stripe dashboard, or customer portal?
customer portal
It can be done with setting up different Customer Portal configurations, i.e. one configuration for group A and one for group B: https://stripe.com/docs/api/customer_portal/configurations/create
During the customer portal session, you can then set the portal configuration according to customer's group: https://stripe.com/docs/customer-management/integrate-customer-portal#customize
oh I see!
the portal configuration is create everytime an api is called ? or I can create one time and use over and over again ?
in Create a portal configuration, I can't find parameters to control what is allowed subscription
You can create one time and use it when needed
I see
ok found it at the featured there
the portal configuration can only create using api ? or I can create at the stripe there and see what portal I created in the pass and use that configure Id
Custom portal configuration for different use cases can only be done with API, not via dashboard
From https://stripe.com/docs/customer-management/integrate-customer-portal#customize:
The Dashboard supports creating and updating the default configuration. You can only manage other configurations using the API.