#tulliaglaeser_api

1 messages ¡ Page 1 of 1 (latest)

red jungleBOT
#

👋 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.

quartz ember
#

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

karmic temple
#

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 ?

quartz ember
karmic temple
#

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

quartz ember
#

There's no real way to do that other than attempt to charge them

karmic temple
#

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

quartz ember
#

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

karmic temple
#

yes, but we could not foresee the failure

#

thank you for your clarifications

quartz ember
karmic temple
#

ok, thanks