#rkrkrohitkkumar
1 messages · Page 1 of 1 (latest)
we are using payment element
and using stripe.confirmPayment() to check if the card is 3ds or not
Hmm are you trying to block any cards that require 3DS?
Or you want to show an error if 3DS fails?
we want show error when saving 3ds payment method for backend user
Can I ask why you want to do this exactly?
during checkout we are able to show the error message for 3ds Pm message using error_on_requires_action but seems like for setup intent this parameter is not there
we dont want the user to save 3ds card from backend.
Is there a reason you don't want to save cards that require 3DS? As long as 3DS is completed successfully initially it will be very rare for it to be required again in the future.
not sure of the reason, but we want only the community member to save a 3ds card not the backend user.
Hmmm I'm still not sure I understand. What is a "backend user"?
okay, so bacically when saving a 3ds PM I have to display an error message
I checked the setup intent's doc but there is no parameter for any error to be thrown
can I achieve this ?
No there is no way to force an error with a SetupIntent if 3DS is required. That doesn't really make sense as the whole point is to set up the payment method for future use which means completing 3DS if necessary.
It sounds to me like you are trying to work around some other issue
Like, are you inserting card details for your customers here?
And that is why you want to prevent 3DS?