#BinodKafle-test-card

1 messages · Page 1 of 1 (latest)

austere cave
#

Hey. Why only during confirmation?

#

You can use any test card that will fail really

flat sentinel
#

We have setup intents and created a payment intent that will be captured later on. We need to test the scenario for the case if capture failed

austere cave
#

Are you using the pm_xxx object created by the Setup Intent with the PI?

#

As what card you used there will determine the outcome of the PI confirmation call

#

4000008260003178 this card should work as you need:

This card requires authentication for one-off payments. All payments are be declined with an insufficient_funds failure code even after being successfully authenticated or previously set up.

flat sentinel
#

We are trying this card. Might take some time.

flat sentinel
#

While creating the setup intent next action json is returned where we can authenticate the card. Is this only for test card's? Do we need to redirect our user in application to setup such cards?

"next_action": {
"type": "use_stripe_sdk",
"use_stripe_sdk": {
"type": "three_d_secure_redirect",
"stripe_js": "https://hooks.stripe.com/redirect/authenticate/src_1KmGTVD5KYFi3zJGlvSaUuBr?client_secret=src_client_secret_nGgG4pomyAUKUrE7RoAGySHw&source_redirect_slug=test_YWNjdF8xSjJvcjRENUtZRmkzekpHLF9MVEN0S2hXVUJ6ZXZOb2ttMHU4ZzZXODJnVmtOZXlz0100PKOt3kte",
"source": "src_1KmGTVD5KYFi3zJGlvSaUuBr"
}
},

honest rampart
#

Hi! I'm taking over ynnoj.