#Samir-customerPortal
1 messages · Page 1 of 1 (latest)
my project structure
user ->
environment1 , environment2, environment3
each environment has seperate subscription.
while creating stripe.billingPortal.sessions
i provide customer id
it redirect to customer portal but it shows all subscriptions related to that user
i required environment level customer portal
What does this environment mean in your context?
something like projects
one user has multiple projects
each project need to subscribed
You can use this param (https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update-products) to specify the list of products that you want your customer to update to.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this will not help me
const session = await stripe.billingPortal.sessions.create({
customer: 'cus_MAZWJQTGzIvlrR',
subscriptionID: 'adsasdasdads'
return_url: 'https://example.com/account',
});
i required somthing like this cutomer id with subscription id so i can get manage that perticular subscription
The billing portal creation API doesn't take subscriptoinID as a input param
yes i know but how i manage that perticular subscription from customer portal
Let me check something
sure
OK. The current billing portal doesn't have an option to show only one subscription.
Can I suggest you to write in to us as a feature request? https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.