• Hello, following on from https://www.ads-software.com/support/topic/trouble-opening-orders-with-paypal-empty-page-error/#post-17819482, I’m getting the following error when opening an order:

    Uncaught WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException: Could not retrieve order. in /code/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:484 CONTEXT: {"error":{"type":1,"file":"\/code\/wp-content\/plugins\/woocommerce-paypal-payments\/modules\/ppcp-api-client\/src\/Endpoint\/OrderEndpoint.php","line":484},"backtrace":["","#0 \/code\/wp-content\/plugins\/woocommerce-paypal-payments\/api\/order-functions.php(48): WooCommerce\\PayPalCommerce\\ApiClient\\Endpoint\\OrderEndpoint->order('8JD55262Y460378...')","#1 \/code\/wp-content\/plugins\/woocommerce-paypal-payments\/modules\/ppcp-order-tracking\/src\/MetaBoxRenderer.php(96): WooCommerce\\PayPalCommerce\\Api\\ppcp_get_paypal_order('8JD55262Y460378...')","#2 \/code\/wp-admin\/includes\/template.php(1456): WooCommerce\\PayPalCommerce\\OrderTracking\\MetaBoxRenderer->render(Object(WP_Post), Array)","#3 \/code\/wp-admin\/edit-form-advanced.php(716): do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))","#4 \/code\/wp-admin\/post.php(206): require('\/code\/wp-admin\/...')","#5 {main}","thrown"]}

    Issue was reported on version 2.7.1, upgraded to 2.8 and issue persisted.

    Any help appreciated.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @mattinventive

    Issue was reported on version 2.7.1, upgraded to 2.8 and issue persisted.

    The issue reported in the linked thread there has been resolved in version 2.8.0. However, the problem you’re currently experiencing has not been fixed yet, but it also wasn’t present in version 2.7.1.

    However, we have successfully reproduced the problem on our end as well. I can confirm that currently, the best immediate solution is to downgrade to a previous version 2.7.1 which you can download from this link:?https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/2.7.1

    Meanwhile, I created an issue for this problem to be analyzed further by our developers. If a fix becomes available for this issue, I will share it here.

    Kind Regards,
    Krystian

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Update:

    Please downgrade to version 2.7.0 instead of 2.7.1, as it turns out that 2.7.0 is not affected by the issue. I apologize for initially stating otherwise; I just discovered that 2.7.1 is also affected, which I was not aware of before.

    Link to 2.7.0 is here: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/2.7.0

    Thread Starter mattinventive

    (@mattinventive)

    Hey @inpsydekrystian,

    Thanks for confirming the issue is recreatable your end, I have downgraded to 2.7.0 and can confirm site is back to working so thank you ??

    Would you know if the next update will fix this?

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @mattinventive

    I don’t have any confirmation yet, but given the number of reports, it’s likely to be fixed in version 2.8.1. I’ll keep updating this thread with any new information.

    Let me know if you have any more questions.

    Kind regards,
    Krystian

    Thread Starter mattinventive

    (@mattinventive)

    Hey @inpsydekrystian, have you had any news if the plugin is functioning as I am yet to update.

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @mattinventive

    This issue should be resolved in version 2.8.1, which we released a few hours ago. You can update the plugin via your WordPress dashboard, or download it directly from: https://github.com/woocommerce/woocommerce-paypal-payments/releases/tag/2.8.1.

    Please let us know if the problem continues.

    Kind regards,
    Krystian

    Hello,

    same error with 2.8.1 this morning and PHP 8.2.20.

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @maigret

    Please create a new thread for this issue, and make sure to check if you’re experiencing the same error with version 2.8.1, as this should have been resolved.

    Looking forward to hearing from you.

    Kind regards,
    Krystian

    Same error for me, i’m using the 2.8.1 version

    Uncaught WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException: Could not retrieve order. in /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/OrderEndpoint.php:484 CONTEXT: {“error”:{“type”:1,”file”:”/wp-content\/plugins\/woocommerce-paypal-payments\/modules\/ppcp-api-client\/src\/Endpoint\/OrderEndpoint.php”,”line”:484},”backtrace”:[“”,”#0 /wp-content\/plugins\/woocommerce-paypal-payments\/modules\/ppcp-webhooks\/src\/Handler\/CheckoutOrderApproved.php(131): WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint->order(’14A41503FN64675…’)”,”#1 /wp-content\/plugins\/woocommerce-paypal-payments\/modules\/ppcp-webhooks\/src\/IncomingWebhookEndpoint.php(239): WooCommerce\PayPalCommerce\Webhooks\Handler\CheckoutOrderApproved->handle_request(Object(WP_REST_Request))”,”#2 /wp-includes\/rest-api\/class-wp-rest-server.php(1230): WooCommerce\PayPalCommerce\Webhooks\IncomingWebhookEndpoint->handle_request(Object(WP_REST_Request))”,”#3 /wp-includes\/rest-api\/class-wp-rest-server.php(1063): WP”]}

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @reovero

    Please create a new thread for this issue, and make sure to check to double check if you experiencing the error with version 2.8.1, as this should have been resolved.

    Looking forward to hearing from you.

    Kind regards,
    Krystian

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.