Stripe is showing an error, but

Got this error, but customer was charged anyway, so they paid again thinking it didn’t go through. I checked the logs via Stripe and it seems like it succeeded, but and tried to do a transaction again of $0, which I’m not sure why it’s doing that?

How do I prevent this from happening?

Error message
“message”: “This PaymentIntent’s payment_method could not be updated because it has a status of succeeded. You may only update the payment_method of a PaymentIntent with one of the following statuses: requires_payment_method, requires_confirmation, requires_action.”

“type”: “invalid_request_error”

Make sure the page containing your form isn’t being cached. If the page is being cached, it could be trying to use the PaymentIntent from the submission that was in progress at the time the page was cached.

Hm… it’s not being cached though. Any other possible reasons?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.