#chunkyboi_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/1422373312079597670
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- chunkyboi_credit-balance-subscriptions, 7 hours ago, 32 messages
- chunkyboi_api, 3 days ago, 22 messages
- chunkyboi_webhooks, 5 days ago, 8 messages
- chunkyboi_api, 6 days ago, 78 messages
hello again! the short version is that yes, using the customer portal is the way to go here
hello hello! sorry I keep bothering you guys haha
no worries, it's what we're here for ๐
so I'm assuming that checkout session isn't suited for the customers that already have a free subscription plan
but rather customer portal is the better option here?
yep. technically you could use checkout sessions to create a new subscription and then delete the free one, but then you need to build all that logic yourself. it's much easier to just use the customer portal which will let them update the existing subscription.
or you can build your own UI and just use the update a subscription API directly
https://docs.stripe.com/api/subscriptions/update
got you
ok thank you very much this is super helpful
we plan on using our own UI, meaning that a user will click on a UI that looks like this:
and because these users already have the free subscription
and we want these buttons to lead to a upgrade subscription page (ignore the "start 14-day trial" button)
is there anyway a checkout session can handle that?
because these customers won't have any payment methods yet, we need to have them add their PMs
this means that we either need them to go to the customer portal page or a checkout session that helps them upgrade their sub
is it possible for us to redirect customers from our page directly to this subscription upgrade page
Hi! Stepping in for my colleague. Give me a moment to catch up!.
is there anyway a checkout session can handle that?
If you wish to update Subscription A from Price A to Price B, you will not be able to do this with the Checkout Session.
is it possible for us to redirect customers from our page directly to this subscription upgrade page
Can I check what do you mean by subscription upgrade page? Is it the customer portal? If so, yes you can redirect your customer to the customer portal.
https://docs.stripe.com/customer-management/integrate-customer-portal#redirect
yes I guess I mean can I redirect the customer directly to this page: