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”