Orders marked Failed after Completed due to error on updating PaymentIntent
-
There are multiple orders that are being shown as failed even though we received payment.
——-
Stripe Acivity Logs for orders show the orders succeeded:
-The payment pi_xx for $60.00 CAD has succeeded
Then it shows multiple 400 error messages:– 400?ERRA request to update a PaymentIntent
– “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”
—–
Woo Commerce Order notes show
- Sorry, we are unable to process your payment at this time. Please retry later.April 14, 2024 at 1:58 pm
- Order status changed from Processing to Failed.April 14, 2024 at 1:57 pm
- Sorry, we are unable to process your payment at this time. Please retry later.April 14, 2024 at 1:57 pm
- Stripe charge complete (Charge ID: ch_xx)April 14, 2024 at 1:57 pm?
- Order status changed from Pending payment to Processing.April 14, 2024 at 1:57 pm
- Stripe payment intent created (Payment Intent ID: pi_xx)April 14, 2024 at 1:57 pm
—–
Please help us fix this
Its the same problem this person outlines in August :
<a href=”https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2686 “>https://github.com/woocommerce/woocommerce-gateway-stripe/issues/2686
Has there been a fix for this?
The fix should be:
Either the plugin should not attempt to update the payment_method, or, at the least, a 400 error received due to failure to update the PaymentIntent shouldn’t cause a successfully paid for order to be marked failed.
- The topic ‘Orders marked Failed after Completed due to error on updating PaymentIntent’ is closed to new replies.