#rkrkrohitkkumar
1 messages · Page 1 of 1 (latest)
Hi
3ds is requested by the card's bank issuer. Stripe has no control over it.
okay, but I saw in payment intent we have error_on_requires_action parameter which we can leverage to throw a custom error. Is there anything similar in setup Intent ?
Yes on both PaymentIntent and SetupIntent, you may see requires_action status, which means you need to ask your customer to complete their Payment authentication (aka 3DS):
https://stripe.com/docs/payments/paymentintents/lifecycle
on confirming a setup intent https://stripe.com/docs/api/setup_intents/confirm this parameter is not there. When a user cancels then we have requires_action https://stripe.com/docs/api/setup_intents/cancel
In our system, we want to throw an error if user enters a 3ds Payment method.
requires_action is on of the status of SetupIntent:
https://stripe.com/docs/api/setup_intents/object#setup_intent_object-status
What parameter you are referring to ?
requires_action
requires_action is a value and not an attribute. It's a value forstatus attribute. Both SetupIntent and PaymentIntent have this attribute.
okay, got it
one more question
I am using error_on_requires_action attribute in payment Intent and marking it as true and handling the error.
Can I do same for setupIntent ? because we don't have error_on_requires_action attribute in setupIntent
?
error_on_requires_action is only available for PaymentIntent when confirming the Payment
so for setup Intent is there any way to do something similar ?
Nope.
However, I think you can use Radar for blocking SetupIntents that requires 3ds
I invite you to double check this with Stripe Support, they know better about Radar:
https://support.stripe.com/contact/email?topic=radar
thanks