#Maitry-PaymentIntent-next-action
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you explain your current flow? Yes this is expected response for 3DS flow.
If you're using Stripe.js client-side, it should automatically take care of it for you
I want to hold money for 2 to 3 days. So for that i called api https://api.stripe.com/v1/payment_intents with following request params. amount:123
currency:dkk
capture_method:manual
payment_method:pm_***7
customer:cus_************id
confirm:true
confirmation_method:automatic . I am using 4242 4242 4242 4242 for testing it.
are you following any specific guides?
yes i am follow this strip doc. https://stripe.com/docs/payments/capture-later with curl option.
what are you using client-side?
I am just try to run this api using postman. once successfully work in it then i will apply in Node.js
Ah okay I see.
Typically you'd see this handled by client-side by showing a 3DS modal
However, this isn't a 3DS card
Can you share the PaymentIntent ID?
yes sure. this is PaymentIntenet ID pi_3KlZfvSA92As0Ced1uOTIOPn
can you please help me regarding 3d secure card issue. so i can able to capture payment inetent.
Looking into it
Server is a little busy today
ok please look into it.and provide help. thanks
yeah it seems like it is triggering the 3DS flow
The payment method pm_1KkpvuSA92As0CedJILuetJ7 is a different card than 4242424242424242
you can also just pass in pm_card_visa instead of the actual payment type to test this flow
https://api.stripe.com/v1/payment_intents
amount:500
currency:gbp
payment_method:pm_card_visa
confirm:true .
I used this params still i received this error.
"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"type": "three_d_secure_redirect",
"stripe_js": "*****",
"source": "src_"
}
},
Can you share the PaymentIntent ID?
yes sure. This is payment intent id. pi_3Kla9gSA92As0Ced1EVpfWrU
ah gbp currency
can you try usd?
yes i tried usd still same error. PaymentIntentID with usd option pi_3KlaEZSA92As0Ced0AMQuViR
or try changing the payment method to pm_card_threeDSecureOptional
yes also tried this. still same error. PaymentIntentID:- pi_3KlaFoSA92As0Ced0nNheXnI
https://api.stripe.com/v1/payment_intents
amount:500
currency:usd
payment_method:pm_card_threeDSecureOptional
confirm:true
I am not sure why it is enforcing 3DS for all the cards here
let me take a quick glance at other properties
ok
Is your test account located in India?
yes
3DS is mandatory for Indian businesses.
https://support.stripe.com/questions/3d-secure-authentication-for-international-card-payments-to-indian-businesses
So unfortunately you won't be able to test this via Postman
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
ohhh okk...so how can i run payment intent demo with 3DS?
There's a guide here that you can follow to build 3DS flow
https://stripe.com/docs/payments/3d-secure
ok thanks. i will check and try to implement. If i found any issue then let you know.
NP! Good Luck ๐