#raf21
1 messages · Page 1 of 1 (latest)
For what specifically? Subscription updates?
I want to create products in BRL for Brazilian users and products in USD for global users. I want when a Brazilian user accesses the customer portal, they only see products in BRL
For subscription update though right?
Yes
If users want to upgrade/downgrade their subscription, they would only see the products of their currency
So you could do this by having multiple customer portal configurations where you specify which products are available for a given country: https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-products. The issue is you'll then need to detect the customer's location on your site prior to creating the customer portal session, so that you know which configuration to pass: https://stripe.com/docs/api/customer_portal/sessions/create#create_portal_session-configuration
Is it possible to create a new customer portal thorough the stripe dashboard?
Yeah but to achieve what you want you need to use code
You need to detect which configuration to use based on location
With code
And then also with code create the customer portal session via the api and pass in the proper configuration for their location