• Resolved aerial2022

    (@aerial2022)


    A few of our customers are getting a “could not retrieve order” error message when trying to place an order using PayPal.

    This is the message report under the order notes:
    “Could not process order. Could not retrieve order. Order status changed from Pending payment to Failed.”

    Until recently we were using the original built-in Woocommerce Paypal option, and we hadn’t experienced any issues with that. It’s only started to happen since we started using the “WooCommerce PayPal Payments” plugin.

    We also had issues with “ITEM_TOTAL_MISMATCH” errors, so I rolled back the plugin version from 1.9.0 to 1.8.1 and it seems to have fixed the ITEM_TOTAL_MISMATCH error, but the “Could not process order” error still remains a problem.

    Please can anyone help?

    Thanks in advance.

Viewing 9 replies - 1 through 9 (of 9 total)
  • See https://www.ads-software.com/support/topic/paypal-checkout-item_total_mismatch/
    There is a bug in 1.9.0 which is fixed in 1.9.1

    But for “some reason” the Plugin DEV decided to wait till the fix is released.
    So either download the beta version from the linked thread or stay on 1.8.1 till that new release is published.

    Thread Starter aerial2022

    (@aerial2022)

    Thanks Kevin, do you know if 1.9.1 also fixes the separate “Could not retrieve order” issue too?

    I don’t know but just download the 1.9.1 release and check the changelog.txt inside the plugin. Maybe you find something in there which gives you your answer.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @aerial2022,

    As mentioned by Kevin, the ITEM_TOTAL_MISMATCH error was resolved for the next update.
    We must ask for your understanding that the release process is not so trivial and involves lots of testing. To not hold back the release more than is necessary, the pre-release versions are published on GitHub, usually about a week before the official release: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/1.9.1-test1
    The official release of this version should happen at any time, likely with no further changes to it.

    This version does not address an Could not retrieve order error, in particular, but there have been a few isolated reports about the error, as here, for example: https://github.com/woocommerce/woocommerce-paypal-payments/issues/666
    Our developers created a test package for a related error, but we haven’t received any feedback about this and can’t reproduce the error ourselves. So if you’d like to give it a try with this test version, feedback would be appreciated. This is based on 1.8.1, so it does not produce the mismatch error with multiple product quantities.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter aerial2022

    (@aerial2022)

    Thanks Niklas, I’ll give this a go on my staging site with PayPal sandbox.

    Please fix the “Could not retrieve order.” bug because I need to go online with a new website soon.
    This is my configuration:
    Wordpress: 6.0.1
    Woocommerce: 6.7.0
    WooCommerce PayPal Payments:1.9.0
    Hosting on Kinsta with php 7.4
    Template: Avada

    • This reply was modified 2 years, 3 months ago by visionova.
    • This reply was modified 2 years, 3 months ago by visionova.
    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @aerial2022

    this fix was also added to our latest release 1.9.1 and this seems to be working (we have not received any more reports on the matter). I will mark this thread as resolved, please open a new thread if you are still encountering this or any other issue.

    @visionova please open a new thread, since your issue is not related to this thread.

    Kind regards,
    Joost

    Hi – we are getting this error also after installing 1.9.2 earlier today.

    `2022-08-10T19:49:48+00:00 DEBUG POST https://api.paypal.com/v1/oauth2/token?grant_type=client_credentials
    Response Debug ID: edfdd69cecb4f
    Response: Array
    (
    [code] => 200
    [message] => OK
    )

    2022-08-10T19:50:17+00:00 DEBUG https://api.paypal.com/v2/checkout/orders/
    Response Debug ID: 229f841e5d327
    Response: Array
    (
    [code] => 404
    [message] => Not Found
    )

    Response Body:

    2022-08-10T19:50:17+00:00 WARNING Could not retrieve order.
    2022-08-10T19:50:17+00:00 ERROR Payment failed: Could not retrieve order.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @natw

    this thread is closed and will not receive any new updates. I believe you want track the progress on this thread instead.

    Kind regards,
    Joost

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Could not retrieve order error’ is closed to new replies.