• Resolved pingram

    (@pingram3541)


    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.

Viewing 6 replies - 16 through 21 (of 21 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello all,

    this issue should have been resolved with tour last release, version 2.4.1. The bug details can be found here on GitHub.

    If you are still encountering this issue, please open a new thread, so we can take another look.

    Kind regards,
    Joost

    Thread Starter pingram

    (@pingram3541)

    Thanks Joost & team!

    Greatly appreciate all your efforts on this.

    Hi Joot,

    We are facing the same issue. Error during status transition. PayPal order ID not found in meta.

    We are using Woo Subscription and WooCommerce Elavon Converge Gateway

    We are processing all our subscription orders via Elavon.

    Updated the WooCommerce PayPal Payments to 2.4.3 but issue still not fixed.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @abidopticommerce,

    please open a new thread for your support request. Since this thread is closed and confirmed to be fixed, we will not start a new investigation via this thread. If you prefer to open a private thread and share additional details, you can that via these instructions.

    Kind regards,
    Joost

    I’m also having this issue. The customer creates a subscription with a 7-day trial, but after the trial no payment is charged.

    Under the order notes it says:

    “Error during status transition. PayPal order ID not found in meta.”

    But at the top of the order details page it says:

    “Payment via Debit / Credit Card”

    I’m not sure which it is. I’ve tried contacting the customers, but they haven’t been particularly helpful.

    Thread Starter pingram

    (@pingram3541)

    Yes it appears the problem has resurfaced a few times being removed then re-patched. Please verify you are running v2.5.3 as of today.

    The fix applied in version 2.4.1 was reverted with the code refactor in 2.4.3-rc1 and when inspecting the code it appears it was rolled back and then later patched in 2.5.0-rc2 but then removed again the next release in 2.5.1. See – https://github.com/woocommerce/woocommerce-paypal-payments/issues/1947

    patched – 2.5.0.rc-2 – /modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php (see lines 88-90)

    patch rolled back – 2.5.1 – /modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php (see line 85)

    patched 3rd time – 2.5.2.rc-1 – /modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php (see lines 88-90)

    Hope this helps.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Conflict with WooCommerce Payments – Throws exception looking for PayPal Meta’ is closed to new replies.