Paypal payments payment failed
-
This is a serious issue related to the “Woocommerce Paypal Payments” payment gateway plugin. Payments are failing – seemingly at random. The plugin provides very little logging. There is no reason for why the card is declined, it literally only says “Could not process order. Order status changed from Pending payment to Failed.” in the order notes. This happens multiple times per day and is costing us $.
Here is what is in our log when the customer order payment fails:
2022-01-11T20:44:47+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token Response Debug ID: 947ca3ce7f629 Response: Array ( [code] => 200 [message] => OK ) 2022-01-11T20:45:54+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token Response Debug ID: a60ad7155db24 Response: Array ( [code] => 200 [message] => OK ) 2022-01-11T20:46:20+00:00 DEBUG POST https://api.paypal.com/v1/identity/generate-token Response Debug ID: 75945da93c4c5 Response: Array ( [code] => 200 [message] => OK )
We get nothing else. The plugin only logs the error if the exception is a PaypalAPIException or a Runtime exception. I added some code to have it log the error message in our logs so hopefully I will have some more info once we get another failure.
- The topic ‘Paypal payments payment failed’ is closed to new replies.