#tulliaglaeser_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/1305896112917446696
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hmm, there's no way to really predict declines like insufficient funds etc. You can verify a card is valid via a Setup Intent, yes
The Setup intent would be able to tell me if there is a problem with the payment method, such as expired card or invalid ? Just not for the insufficient funds ? Which part of the setup Intent object can tell me this ?
The 'confirmation' attempt of the intent would succeed, and you'd have a pm_xxx object you can actually attempt to charge. See: https://docs.stripe.com/payments/save-and-reuse?platform=web
But actually my customer would already have created all his payment methods. I don't want to create any new payment methods. I just want to verify that his created payment methods are still valid when he asks for the downgrade, ie. that they haven't expired, no longer have insufficient funds, or for example are no longer valid because the card has been stolen or for whatever reason
There's no real way to do that other than attempt to charge them
Because if I allow him to downgrade without checking, then potentially in 1 month I am supposed to downgrade him but I don't and he doesn't know why
Well we'd still attempt the downgrade (i.e. perform the update, generate the invoice, attempt payment, etc). If in the scenario the downgrade payment fails, then you can use recovery mechanisms to bring the user back on-session to pay the invoice
Unfortunately not no. You just need to account for them in your integration and build recovery systems. FWIW we can also send emails in those scenarios: https://docs.stripe.com/billing/revenue-recovery/customer-emails
ok, thanks