#hakiros_best-practices

1 messages ¡ Page 1 of 1 (latest)

opal saddleBOT
#

👋 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/1220702414429094059

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

rancid vortexBOT
hot harness
#

Sorry for putting part of question in docs but i ran out of signs

grand barn
#

What else should I check? Should I check "type" field whether it's card?
I'd say that's likely redundant if the only payment method option available to your customers on the payment UI is a card

I check something more to ensure that it will be possible to charge this cc later?
Depends specifically what you want to check. Generating the pm_xxx object via a Setup Intent will validate the card details with the network, but won't prevent any declines related to insufficient funds for example

hot harness
#

So just the fact that payment method exist should be sufficient and wont require more checking as long as he doesn't have insufficient funds?
Is it possible to anyhow protect ourselfs from insufficient funds? What would happen in that case?

grand barn
#

So just the fact that payment method exist should be sufficient and wont require more checking as long as he doesn't have insufficient funds?
If the Setup Intent is confirmed successfully and generates a Payment Method then it's safe to assume the card details provided are 'valid'. Doesn't mean every future payment attempt with them is guaranteed

Is it possible to anyhow protect ourselfs from insufficient funds? What would happen in that case?
It'd be a payment decline: https://docs.stripe.com/declines#issuer-declines

Learn about payment declines and how to lower your decline rate.

hot harness
#

Ok, thanks