#munjay_api
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1393174743573860383
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
You can use Customer session in order to update an existing subscription but not using Checkout Session
is it possible to trigger certain flows in the customer portal -
i.e. if on our frontend they click a certain plan - upgrade to £50 plan, if i redirect them to the customer portal, will they be able to continue that flow, or will they have to choose the plan again?
Yes, you can configure a Subscripton update flow:
https://docs.stripe.com/customer-management/portal-deep-links#flow-types
Okay thank you. i will look into it
Welcome!
if i want to support a subscription_update flow,
if i have 3 pricing plans, how do i configure the product catalogue to be able to show the options in the portal?
I'm getting this error when i try to add multiple products to the subscription flow
Yeah that's a limitation:
https://docs.stripe.com/customer-management#customer-portal-limitations:~:text=Customers can’t define,version.
I think you could create another product and not use the same product
okay seems like this wont work for us then
Yeah you need to adapt your flow accordingly
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
unfortunately we don't have an alternative, you need to create a separate product
i mean to my original problem
if we put customer portal aside
i just need a flow where i can update a customer's subscription, with a section to input payment details if necessary
you won't know in advanced whether the payment details are necessary or not
why not
how would you do that?
if there's already a Payment Method on the subscription, how would you be able to know whether it will work or not
there is no payment method on the subscription
this case only occurs when they sign up to our free trial - where we are not requiring a card
ok
if they choose to upgrade to the plan, or the different plan, then a card is required
well, is this the only way?
ideally we would have the stripe checkout session, but be able to update a subscription as opposed to create a new subscription
its also because the checkout session auto calculates tax and shows it to the user
you can do the same with Invoice Previews