#hananafzal88-3DS
1 messages · Page 1 of 1 (latest)
Hi there, just want to clarify your question, do you want to know how to trigger 3DS in test mode?
Great, there are some test cards that you can use to trigger 3DS https://stripe.com/docs/testing#three-ds-cards
i want to know the implentation of 3ds
The 3DS flow will be triggered when you use one of the above test cards to make a payment
@lament trout i am getting object error while adding 3ds
var options = new PaymentIntentCreateOptions
{
Amount = data.Amount * 100,
Currency = PaymentConstants.Currency,
PaymentMethodTypes = new List<string>
{
PaymentConstants.Card
},
Customer = user.CustomerId,
PaymentMethod = data.PaymentId,
TransferGroup = Guid.NewGuid().ToString(),
Description = data.Description,
Confirm = true,
PaymentMethodOptions =
{
Card =
{
RequestThreeDSecure = "any"
}
}
this is my code
what is the error message?
Error is fixed
now status is action_required
but i am not getting any box for 3ds verification
What's your front integration? are you using payment elements?
yes
then you can use stripe.handleCardAction https://stripe.com/docs/js/payment_intents/handle_card_action