#soleborn_code
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/1377068809386459178
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi @quiet trench please let me know if this doesn't make sense or if you need clarification anywhere!
By Subscription Intent are you referring to SetupIntents? https://docs.stripe.com/payments/setup-intents
yes sorry thats what i mean
No worries, just wanted to make sure we're on the page. Looks like part of your question got cut off?
oop yeah i see it did get cut off! my bad. so summary:
we are using stripe.Subscription.create() in our sign up flow on our actual website
on our website we offer 2 different subscription types (lets call them Subscription1 and Subscription2)
at the same time, on the customer portal, we want people to be able to swithc from Subscription1 to Subscription2, but never Subscription2 to Subscription1.
On the Customer Portal settings, if we only show/allow Subscription2 will that allow โ๐ฟ
while still being able to charge people the two different subscription types that we defined in our code in our sign up flow via stripe.Subscription.create()
this behavior seems like it could implicitly work, and i wanted to verify with you first
Just to make sure I have the full picture, you have a Subscription to a product, that product has two prices? Subscription Price 1, and Subscription Price 2, and you only want people to be able to transition from 1 to 2 and not the other way.( I presume upgrade but not downgrade)
almost! we have 2 separate products (2 product ids). each product has 1 price_id associated to it. we offer people to subscribe to either product.
and correct assumption here (we want to only allow them to upgrade, but never downgrade):
( I presume upgrade but not downgrade)
great questions btw thank you for asking them
I tested this by creating a test Subscription, added an "upgrade" product as the only product available on the portal here https://dashboard.stripe.com/test/settings/billing/portal
Then tested the portal and it allowed me to "upgrade" but there is no option to go back. So sounds like your idea should work.
LFG
thank you very much!
have a nice day. if theres anywhere i can submit feedback for how well you did lmk i got you
Happy we could help!