#_payment-intent-3ds-radar
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/1329493009364025375
๐ 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.
- _api, 1 day ago, 28 messages
HI ๐
The next_action property on a Payment Intent is populated when confirmation results in another action being required.
PaymentIntentCreateParams.Builder createParams = PaymentIntentCreateParams.builder()
.setAmount(total)
.setDescription(description)
.setConfirm(true)
.setCurrency(currency.getCurrencyCode())
.setPaymentMethod(paymentMethodId)
.setReturnUrl(returnUrl)
.setConfirmationMethod(PaymentIntentCreateParams.ConfirmationMethod.MANUAL)
and after i create the intent i get the results for it
for all my clients it is no next action and it success
but for one client it redirect to url why?
Because a next action is required
Do you have an example payment intent ID I can review?
1 min and i will get you a one
PaymentIntent@1240898811 id=pi_3QhvhsJsQkG1s2Xw0anlfuex
1321102059 id=pi_3QhvXGLpIlvZeBPf0E7dAYZS
the first one requires an action and the other one does not
they both uses the same code same configuration the only diffrenet is the client here which is the stripe secert keys
The first payment intent has an error
message: "This PaymentIntent is configured to accept payment methods enabled in your Dashboard. Because some of these payment methods might redirect your customer off of your page, you must provide a
return_url. If you don't want to accept redirect-based payment methods, setautomatic_payment_methods[enabled]totrueandautomatic_payment_methods[allow_redirects]toneverwhen creating Setup Intents and Payment Intents.",
yes i know
ุณูููุฑุฉ โ Today at 7:52 PM
PaymentIntentCreateParams.Builder createParams = PaymentIntentCreateParams.builder()
.setAmount(total)
.setDescription(description)
.setConfirm(true)
.setCurrency(currency.getCurrencyCode())
.setPaymentMethod(paymentMethodId)
.setReturnUrl(returnUrl)
.setConfirmationMethod(PaymentIntentCreateParams.ConfirmationMethod.MANUAL)
this is how i created it
i send the return url
but it stil lrequire an action redirect to url
the second one does not
what config on stripe side that do this?
both of them are card payments
The configuration on the account could be different, since each of these payment intents occurs on a different Stripe Account
yes i know
i'm asking what configuration causes this
so i can ask them to disable it
As the message suggests, it has to do with what payment methods they have enabled on their dashboard.
what payment method do this i want to enable it so i can test & figure a way to fix this
One approach you could try, with that same account, is to specify the payment_method_types parameter when you create the Payment Intent
i send this a card and the issue still happens
can you share that payment intent? It isn't what you passed in either of the ones I see
<com.stripe.model.PaymentIntent@1812579980 id=pi_3QhwWKJsQkG1s2Xw1s9dysIK> JSON: {
this is the correct way of adding the payentmethod right
PaymentIntentCreateParams.Builder.addPaymentMethodType("card");
Okay that is a totally different situation
That card is requiring 3DS authentication
That means the bank is requiring the customer to authenticate the transaction
it is the test card with 411111111111111 why it needs bank auth?
I don't see any test cards here https://docs.stripe.com/testing#cards that end in 1111
<com.stripe.model.PaymentIntent@907576219 id=pi_3QhwchJsQkG1s2Xw0BSjHfs0> JSON: {
check this one with test card of urs it still requires 3ds for somem reason
Are you planning on not handling 3DS?
no i will kep it the enabled but why the test card requires 3DS?!
That is a good question ๐ค
so how can i test the test card with 3ds?
so how can i test the test card with 3ds?
Do you mean using these card numbers? https://docs.stripe.com/testing#regulatory-cards
Okay my colleagues did some digging and found that the accounts have a Stripe Radar rule that requests 3DS for any card that supports 3DS
Happy to shed what light I can ๐