#_payment-intent-3ds-radar

1 messages ยท Page 1 of 1 (latest)

meager bladeBOT
#

๐Ÿ‘‹ 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
bold finch
#

HI ๐Ÿ‘‹

The next_action property on a Payment Intent is populated when confirmation results in another action being required.

bold wagon
#

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?

bold finch
#

Because a next action is required

#

Do you have an example payment intent ID I can review?

bold wagon
#

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

bold finch
#

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, set automatic_payment_methods[enabled] to true and automatic_payment_methods[allow_redirects] to never when creating Setup Intents and Payment Intents.",

bold wagon
#

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

bold finch
#

The configuration on the account could be different, since each of these payment intents occurs on a different Stripe Account

bold wagon
#

yes i know

#

i'm asking what configuration causes this

#

so i can ask them to disable it

bold finch
#

As the message suggests, it has to do with what payment methods they have enabled on their dashboard.

bold wagon
#

what payment method do this i want to enable it so i can test & figure a way to fix this

bold finch
#

One approach you could try, with that same account, is to specify the payment_method_types parameter when you create the Payment Intent

bold wagon
bold finch
#

can you share that payment intent? It isn't what you passed in either of the ones I see

bold wagon
#

<com.stripe.model.PaymentIntent@1812579980 id=pi_3QhwWKJsQkG1s2Xw1s9dysIK> JSON: {

#

this is the correct way of adding the payentmethod right

             PaymentIntentCreateParams.Builder.addPaymentMethodType("card");


bold finch
#

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

bold wagon
#

it is the test card with 411111111111111 why it needs bank auth?

bold finch
bold wagon
#

<com.stripe.model.PaymentIntent@907576219 id=pi_3QhwchJsQkG1s2Xw0BSjHfs0> JSON: {
check this one with test card of urs it still requires 3ds for somem reason

bold finch
#

Are you planning on not handling 3DS?

bold wagon
#

no i will kep it the enabled but why the test card requires 3DS?!

bold finch
#

That is a good question ๐Ÿค”

bold wagon
#

so how can i test the test card with 3ds?x1recyDespair

bold finch
#

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

bold wagon
#

oh ok

#

this makes sence

#

thanks

#

you can close this

bold finch
#

Happy to shed what light I can ๐Ÿ™‚