#tarantino-47_docs

1 messages ¡ Page 1 of 1 (latest)

acoustic remnantBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253566089464647814

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

autumn pumice
#

hello! Can you explain more on why you would want to do that?

midnight tiger
#

we want to do that in order to check if a credit card is valid. just to see if credit card is good enough to perform $1 charge

autumn pumice
#

That's something that is strongly discouraged. Card networks don't like that. You shouldn't be authorizing if you don't intend to capture.

Stripe does help check if a card is valid without a charge if you use SetupIntents - either via a card validation or using ML to predict if the card is valid

midnight tiger
#

can you tell me what are the best practices for validating a card. send a link maybe

autumn pumice
#

Generally, if you're saving a card for future use, use a SetupIntent. Stripe will handle most stuff for you :

If you're already collecting a payment, save the card at the same time :

Learn how to save payment details and charge your customers later.

Learn how to save payment details during a payment.

midnight tiger
#

ok, thank you, but regardless

#

I do need to know how to put a hold of $amount

#

for example if a customer paid for a pizza in my store, but then turned out that type of pizza is out of stock

autumn pumice