#skammerens-datter_api

1 messages ยท Page 1 of 1 (latest)

gaunt thistleBOT
#

๐Ÿ‘‹ 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/1265242122781462539

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

random fjordBOT
#

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.

dusk sequoia
#

๐Ÿ‘‹ happy to help

#

I'm not sure I understand

leaden mason
#

let me elaborate: I have a SaaS product, and use Stripe to handle subscriptions. So far they can select a subscription plan, pay and have access to the features of the plan. They can view their invoices, change plan and cancel the subscription. Now, I would like to enable them to update their payment method. I am thinking the best way with my integration is to use a Stripe Element (paymentElement applicable?) and update the payment method, without charging anything. The most relevant case is if their card gets declined for insufficient funds or expiration. In that case a webhook catches it, notifies them, and they should be able to update the payment method.

dusk sequoia
#

in that case you would need to use a SetupIntent

#

and then once it's attached to the customer you can update the default payment method of the subscription

gaunt thistleBOT
leaden mason
#

okay, I'll look into that. Can I use a paymentElement? elements.create("payment", { ... ?

desert shoal