#Marques
1 messages · Page 1 of 1 (latest)
Hello! Can you tell me a bit more about how you're using Stripe? Are you creating Checkout Sessions, for example?
random IDs beign generated*
sure
I have a button where they click and they are sent to Subscription checkout from stripe
this calls my endpoint
and redirects to checkout
When you create the Checkout Session in your backend you can specify an existing Customer ID, or you can use logic on your end to determine that they should not be sent to Checkout but instead somewhere to manage their existing Subscription if they have one.
Hm I see , for examble
client Rubeus{
authID : myId_ForMyApplication
stripeCustomerID:
}
when creating checkout session It checks the StripeCUstomerID already existed in Stripe DB and decide what to happen next?
ok, for me to prevent him from reaching to the page is quite simple
what if he wants to upgrade, what would you guys required me to send?
to make sure the previous subscription would be canceled and etc
We have the Customer Portal you can send them to instead of Checkout: https://stripe.com/docs/customer-management
the problem I see here is that the emal requierd is the email used to purchase the item
which can be a different one from the user Auth0
what would be the way around that?
Yeah, you can create Portal Sessions with the API that belong to a specific Customer and bypass the login page: https://stripe.com/docs/customer-management/integrate-customer-portal
I see, thats a great option
in order for users to update their subscription (by Stripe doing everything) must be done on the ucstomer portal, the checkout session wouldn't handle it right?
Correct. Checkout only creates new Subscriptions, it's not used to manage existing ones.
Customer Portal is used to manage existing Subscriptions.
I see, it looks amazing the features inside
but no customization ?
I mean about the appearance
It uses your branding settings here: https://dashboard.stripe.com/settings/branding
Im getting "A PortalConfiguration can display a maximum of 10 products."
can I have multiple portals to "fix" that?
I have 12 products of 3 different categories
To clarify, you want people to be able to switch between all twelve of those via the Portal?
that would be good
but if not
then they would have to cancel their subscription and then create another
if we could have 3 portals for each handle 4 products would be nice as well
Yeah, you could configure three different Portals with four products each.