#Samir-customerPortal

1 messages · Page 1 of 1 (latest)

dense dune
#

Hi there, how can I help?

abstract yoke
#

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

dense dune
#

What does this environment mean in your context?

abstract yoke
#

something like projects

#

one user has multiple projects

#

each project need to subscribed

dense dune
abstract yoke
#

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

dense dune
#

The billing portal creation API doesn't take subscriptoinID as a input param

abstract yoke
#

yes i know but how i manage that perticular subscription from customer portal

dense dune
#

Let me check something

abstract yoke
#

sure

dense dune
#

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