Stripe error: Wrong Confirmation for Failed Donation #7758
Unanswered
Genevieve-K
asked this question in
Developer Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
One of our donors has a problem with his card. He received a confirmation as the donation is successful and an error message. I can reproduce with the test card 4000008400001280 (card declined).
I analyzed the code. Here is the problem:
GiveWP create a Payment Intent with a parameter
return_url
assigned to the confirmation page.The Payment Intent returned by Stripe has the status
requires_action
that means that Stripe needs to do extra action.GiveWP returns to Stripe using the next action url
Doc:
payment_intent.payment_failed
andcharge.failed
.Beta Was this translation helpful? Give feedback.
All reactions