#javier_code
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/1230164764123201576
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- javier_code, 28 minutes ago, 16 messages
That code looks fine to me. Can you send me the full text of the error message that you are getting back?
authentication_required
The card returned a decline code of authentication_required.
The card was declined as the transaction requires authentication.
The customer should try again and authenticate their card when prompted during the transaction. If the card issuer returns this decline code on an authenticated transaction, the customer may need to contact their card issuer for more information.
Please visit the payment page for further details.
To learn more about why some payments fail and what you can do to decrease your decline rate visit our guide on understanding declines and failed payments.
But, I'm testing with my card in production env and I'm not getting any notification from my bank about it. And when I create the charge directly from stipe console it works
Can you send me the request ID from that error? (req_123) https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Is not in tests, here is the request_id req_iWRCQEbmqQ4ahL
https://dashboard.stripe.com/logs/req_iWRCQEbmqQ4ahL
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Ah, that decline came from the issuing bank. Your code is fine, banks sometimes just decline things for weird reasons even if the user already did 3DS and whatnot
Yeah but I´ve tried a lot of times like 4 or 5 and keeps failing, and it´s odd that I´m able to do it manually from stripe console
With other cards? And when you say console do you mean our dashboard or our CLI?
Gotcha, API-wise you look fine. If you reach out to our support team they may be able to help you look at these declines but really only the issuing banks know why these declines are happening. https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.