#eduard-tomas_best-practices
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. Thank you for your patience!
โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
๐ 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/1213089263428698202
๐ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
๐ happy to help
so if I understand correctly you want to update a subscription to a paid plan with a hosted Stripe surface?
yes but I want to know if the checkout will give error or allow to update a subscription for another one
checkout session I'm talking about
so I'm passing to the checkout session subscription mode params the customer id (that do not have any payment method yet) and the new subscription product
but this customer id already have a subscription with a product that have a free trial associated
so then I want to know what would do Stripe checkout, to give an error because already have a subscription, update the subscription, ...
and what's the best practice
Checkout can't be used to update a subscription
instead what you need to use is the Customer Portal
and you can use Deep links and flows to get your customer to the exact page where they can update their subscription
unfortunately this needs some development
no but then I can eliminate the subscription and then called the checkout no?
Hi there ๐ apologies for the delay. I'm jumping in to lend a hand, please bear with me a moment while I catch up on the context here.
What you want to achieve exactly ?
don't worry I've already solved