#lushiv
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Have you tried using the pre-created tokens for test mode from here?
https://stripe.com/docs/testing?testing-method=tokens#cards
Does these work with Customer creation flow?
I believe there are more restrictions on passing raw card numbers to /tokens endpoint now to limit card testing attacks
Hi @muted hull Yeah, it works for other cards, but when I try to add debit card details from Thailand, it gives me an error. The error is not from the token API; it occurs when I use the await stripe.customers.create({ function."
Hi ๐
I am stepping in as @muted hull needs to go soon. Can you share the request ID for the failing API request?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
This my request ID : req_qbLmzSQVuuRsue TeamSync @rocky flame @muted hull
There is a validation charge made when attaching the card to the Customer and the card is failing validation at that point
Your request is using our latest API version. I would recommend using Setup Intents to collect and save payment methods to a Customer instead of the Tokens API. It's much more robust.
https://stripe.com/docs/terminal/features/saving-cards/save-cards-directly
Okay Thank you @rocky flame
Happy to help ๐
I think you'll find Setup Intents easier to work with than Tokens
Sure, yeah, I will test it with intents. Maybe it works. Let me try once.