#carlituxman-3ds
1 messages · Page 1 of 1 (latest)
hello @mystic axle, if you're using Payment Element to collect card details, Stripe will automatically display the authentication UI in a pop-up modal if 3DS is required
are you using Payment Element?
we use vue stripe, it uses payment element. Do you recommend other use?
i'm not familiar with vue, but if it uses Payment Element, then it should work as i've mentioned. Have you tried making a test payment with one of the 3ds test cards to see how it works?
yes, but we'll try again and view about Payment Element
but payment elements when show the autentication pop-up? on payment?
it could be either on payment or on setup
it really depends on the card issuer and your setup
I'm trying at https://stripe.com/docs/payments/payment-element
with 4000000000003220 card but nothing happens
the example in that page isn't meant for testing a payment. It's only to show how it looks like
if you want, you can clone the repo here for accepting a payment - payment element : https://github.com/stripe-samples/accept-a-payment/tree/main/payment-element
thanks
but this is creating a payment, then the validate of 3D secure is on the payment
what't happens if i's a subscription with trial period? the payment is in the future
if it's a subscription with a trial period, you should create a SetupIntent and save the card to the customer. Set the card as the PaymentMethod for the subscription.
then when confirm 3d secure?
usually when the trial period ends, if you're using a saved card that is setup for off-session payments, it typically shouldn't require authentication
then need a first authetication?
in the rare case that it is, you can either ensure that you've enabled Send a Stripe-hosted link for customers to confirm their payments when required - This email will be sent if charging a customer's card on file (when they aren't present) requires them to complete 3D Secure authentication. It will link to a Stripe-hosted page where they can confirm the payment.
Or you can bring them back to your site and have them do 3DS there - by running stripe.handleCardAction
https://stripe.com/docs/js/payment_intents/handle_card_action
then if use for only subscriptions is rare case that need verify 3d? or the first time can be needed?
It really depends on the issuer and regulations of the country. For example, for India issued cards, if your subscriptions are above a certain amount, all recurring payments for that subscription will require 3DS
we are on EU
then my recommendation is to use SetupIntents to save a card for off session usage, and turn on that setting Send a Stripe-hosted link for customers to confirm their payments when required
thanks