#Laksh

1 messages ยท Page 1 of 1 (latest)

swift tuskBOT
white lichen
#

Hello! For gated features we ask that you write into support (https://support.stripe.com/contact) - I can take a quick look if you send me a setup intent ID, but you may end up needing to write in

desert gull
#

seti_1Nb3pXGTMcrNIU4kn3wHLf4T

#

Appreciate the help, please give me whatever info you can, and I will then reach out to stripe support

white lichen
#

That setup intent didn't require 3DS - if it did, the SetupIntent wouldn't be in a succeeded status. I assume you're confused by payment_method_options.card.request_three_d_secure being set? That's just meant to repreesnt that you're relying on our decision model to decide if 3ds is needed or not, it doesn't mean it was actually required (https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method_options-card-request_three_d_secure)

desert gull
#

I see, then why does the payment intent require 3DS auth? For context, we are creating the payment method client side using the older card elements rather than payment elements. Then we send the payment method to our servers, attach it to a client and then create a setup intent with the options listed earlier. Is there something wrong with this setup?

white lichen
#

It doesn't require 3DS auth - us setting payment_method_options.card.request_three_d_secure: automatic just means that you're not triggering 3DS manually yourself

desert gull
#

ok, so you cannot tell why the payment intent is requiring 3DS?

#

I will reach out to stripe support in that acse

white lichen
#

Can you send me the payment intent ID as well?

desert gull
#

So I setup a new card and tried charging it:
seti_1Nb4CPGTMcrNIU4kgSeZj78F
pi_3Nb4DFGTMcrNIU4k1GyrfwYn

white lichen
#

Hmm... can you try again but this time in your setup intent can use set usage: off_session?

desert gull
#

Don't setup intents default to off session? Anyways I tried passing it explcitly:
seti_1Nb4NuGTMcrNIU4kPEI2WLjo
pi_3Nb4PCGTMcrNIU4k1IgxZ9Ww

white lichen
#

Hmm... I would've expected 3DS to not be needed in that case

#

It may be that you need to specify off_session: true on the PaymentIntent, but it may be something more specific to moto

#

I'd definitely ask support and get them to clarify

desert gull
#

Also just want to confirm that in stripe.js using Card Elements and then create.createPaymentMethod instead of using the payment element should be the same right? I was told to pass the option paymentMethodCreation: 'manual', to the react stripe elements object which I did, but the example shared with me uses payment element and Im using card elements

#

ok thanks, let me try using off session on the payment intent as well

#

if the error still persists, I will reach out to stripe support. Thanks for you help!!

white lichen
#

๐Ÿ‘

#

and yes using card element would be what you want!

#

If you don't use payment element you shouldn't need paymentMethodCreation: manual

desert gull
#

Thank you so very much @white lichen , passing off_session=True did the trick!!

#

on th epayment intent i.e.

white lichen
#

awesome!