#JayJay

1 messages ยท Page 1 of 1 (latest)

fallow canyonBOT
lofty orchid
#

Can you share the pi_xxx?

#

But yes, you'll need to re-collect payment details from the user and re-attempt PI confirmation

normal rune
#

Ok, let me check

#

Here is an example: pi_3MUUkBCEyPOWmxDV13NNu2QS_secret_Ov6VYTMt3M3x8YvSAcSf97GH3

#

this auth was init with this secret

#

and then i closed the tab in the browser

#

and this is the status of the customer

lofty orchid
#

It has a PM attached, so no need to re-collect payment info in this instance

normal rune
#

So if i understood you correctly, altho i already have collected PM, i should re-collect it (i guess if the user inserts the same PM it wont be a problem?), and then just call confirmCardPayment ?

lofty orchid
#

No, on that particular PI you don't need to re-collect as I just stated

#

It just needs re-confirming as 3DS/auth was requested so needs to be complete

#

You'd only need to re-collect PM data if the payment attempt fails (e.g. 3DS failure, decline, etc), and the status on the PI is requires_payment_method

normal rune
#

Ok thank you, let me check this and will get back to you

hollow belfry
#

hi there

#

are you here ?

normal rune
#

hi

#

so i tried what ynnoj suggested from above, just to re-confirm the 3DS auth, and it works fine on dev

#

but when i swtich to test on prod, it still gives me the error that for that paymentIntent i have no paymentMenthod attached

#

altho the customer have a PM

vale sonnet
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!

normal rune
#

hi os4m37 can you see the conversation above ?

vale sonnet
normal rune
#

pi_3MUUkBCEyPOWmxDV13NNu2QS

vale sonnet
#

Did you tried anther Card ?

normal rune
#

so if i understand correctly, this is our error ?

#

payment_intent_authentication_failure
The provided payment method has failed authentication. Provide a new payment method to attempt to fulfill this PaymentIntent again.

#

so if i provide the same paymentMEhtodId, will it work ?

vale sonnet
#

Not the PaymentMethodId of the same Card, you need to try with another Card

normal rune
#

Give me a sec please

normal rune
#

ok seems to work fine on dev

#

let me deploy and test it on prod, and will keep you updated

#

thank you ๐Ÿ™‚

vale sonnet
#

You're welcome ๐Ÿ™‚