#Manju

1 messages · Page 1 of 1 (latest)

rich garnetBOT
delicate crown
#

👋 happy to help

#

you can use the Insufficient Funds decline card 4000000000009995.
please note that this card you cannot attach to a customer though

molten dew
#

Yeah that's the problem. I want card which need to attach to customer. It should fail in preauth.

#

Can you help me on that we need that scenario.

delicate crown
#

there's the Decline after attaching card

molten dew
#

It didn't fail in preauth.

delicate crown
#

what do you mean by that?

#

are you talking about SCA and 3DS?

molten dew
#

pre auth get success. When I try capture that amount thenonly it get fail.

#

code snippet :
paymentIntent = await stripe.paymentIntents.create({
amount: 2500,
currency: "usd",
payment_method_types: ["card"],
capture_method: "manual",
payment_method: paymentMethodId,
customer: customerId,
metadata: {
userId: userId,
},
})

delicate crown
#

ok try this payment method pm_card_authenticationRequiredChargeDeclinedInsufficientFunds

#

instead of paymentMethodId

#

just for testing

#

but this card needs 3DS