#JayJay
1 messages ยท Page 1 of 1 (latest)
Can you share the pi_xxx?
But yes, you'll need to re-collect payment details from the user and re-attempt PI confirmation
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
You should just be able to call confirmCardPayment (https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-attached) on that PI as the status is requires_action
It has a PM attached, so no need to re-collect payment info in this instance
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 ?
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
Ok thank you, let me check this and will get back to you
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
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
hi os4m37 can you see the conversation above ?
Can you share the PaymentIntent Id please?
pi_3MUUkBCEyPOWmxDV13NNu2QS
There was an error while completing the 3DS authenticatioin:
https://dashboard.stripe.com/logs/req_LkAAoEowDpGLSf
Did you tried anther Card ?
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 ?
Not the PaymentMethodId of the same Card, you need to try with another Card
Give me a sec please
ok seems to work fine on dev
let me deploy and test it on prod, and will keep you updated
thank you ๐
You're welcome ๐