#peter_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/1343965926281838612
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I 'think' the issue is related to the following if I am not displaying a payment form: if (existingPaymentMethod) {
const result = await stripe.confirmSetup({
elements,
confirmParams: {
return_url,
},
});
Why are you using confirmsetup when updating a subscription?
It should just be an update subscription api call https://docs.stripe.com/billing/subscriptions/upgrade-downgrade
Likely because I am not reading the docs accurately. How do I confirm the price increase with stripe?
if existing subscription is $10 and upgrade is $100 do I not need to confrim it somehow?
Likely you won't need to confirm
Unless customer authentication like 3ds is required
See above doc for how to upgrade to a different price
ye - I have those docs - I just assumed that stripe would error on it because otherwise I could just change the subscription costs on the customer whenever I like?
You can
Technically anyway
You shouldn't do that without customer consent though
ok but stripe is not involved with the consent?
No that's on you