#ilyeselb

1 messages · Page 1 of 1 (latest)

vivid copperBOT
grand olive
#

Hello 👋

#

Can you share the invoice ID?

warm ingot
#

okay just a minute

#

"in_1NQWVKGyOBDbEOMCHZ8A7iaY"

vivid copperBOT
grand olive
#

When you retrieve the invoice, what are you seeing in the response?

#

Can you share the complete response here?

warm ingot
#

I'm saving a payment method that requires 3D Secure authentication for my customers. then, I use that saved pm to pay another subscription directly without filling the stripe element form so i create a subscription. But here's the problem: if the card needs authentication, the payment for the invoice doesn't go through, and the subscription remains incomplete. What I really need is a way to figure out if the card being used is a 3D Secure card, so that I can redo the payment confirmation and the authentication process.

#

i have the payment intent of that failing payment ,but last_payment_error is null , now i use payment_intent?.status === 'requires_action'as condition but i think its not a good idea

grand olive
#

I think there's distinction between when a PaymentIntent gets declined versus when it requires authentication to succeed

#

Prompting for 3DS isn't exactly "declining" as on a decline you'd need to provide a new PaymentMethod and the PaymentIntent would move to "requires_payment_method" status

#

Ah in your case it was a decline

#

interesting

warm ingot
#

i just need a condition to show the authentication modal thats it

#

it was declined i think because of the card type

#

the card saved is a 3ds with auth required

#

now im using requires_action (status of payment intent)

grand olive
#

Gotcha. I believe you can use confirmCardPayment function with the PaymentIntent linked to the invoice and attempt to confirm the PaymentIntent again.

Quick question, did you use a SetupIntent to store the card previously?

warm ingot
#

i use Attach a PaymentMethod to a Customer

grand olive
warm ingot
#

okayy

formal fractal