Conflict with WooCommerce Payments – Throws exception looking for PayPal Meta
-
When customers checkout while offering both Paypal, Paypal Advanced and WooPayments, when they are NOT using PayPal to checkout but using a Visa, MC or Amex via Woo Payments, an Exception is thrown stating:
Error during status transition. PayPal order ID not found in meta.
I am not sure why this is occurring when PayPal was not used for the payment method.
The Woo Payments transaction is successful but our orders never change from processing to completed as a result of this exception.
The first part of that error is from WooCommerce function status_transition which has an exception break, thus why the status isn’t changed.
The second half of that error is from WPP function ppcp_get_paypal_order which I am not sure why it is executing but lacking the meta data it requires results in the exception.
I found two methods VOID and CANCEL that call this function, not sure how these come into play either.
WC, WPP and WP all appear to be current.
The WC logs show:
2023-10-06T01:58:21+00:00 ERROR Status transition of order #58395 errored!
2023-10-06T07:26:19+00:00 ERROR Status transition of order #58431 errored!
2023-10-06T16:36:57+00:00 ERROR Status transition of order #58439 errored!
Any help or direction is greatly appreciated. Thank you.
- The topic ‘Conflict with WooCommerce Payments – Throws exception looking for PayPal Meta’ is closed to new replies.