• Resolved Kyle T

    (@kyle9296)


    I had an order fail today. Below is part of the log. Not sure what is going on.

    Response Body:

    2022-09-29T17:20:12+00:00 WARNING Could not retrieve order.
    2022-09-29T17:20:12+00:00 ERROR Payment failed: Could not retrieve order. OrderEndpoint.php:459
    2022-09-29T18:05:10+00:00 DEBUG POST https://connect.woocommerce.com/ppcsandbox/v2/customer/partner-referrals
    Request Body: {“partner_config_override”:{“partner_logo_url”:”https:\/\/connect.woocommerce.com\/images\/woocommerce_logo.png”,”return_url”:”https:\/\/phdtackle.com\/wp-admin\/admin.php?page=wc-settings&tab=checkout&section=ppcp-gateway”,”return_url_description”:”Return to your shop.”,”show_add_credit_card”:true},”products”:[“PPCP”],”legal_consents”:[{“type”:”SHARE_DATA_CONSENT”,”granted”:true}],”operations”:[{“operation”:”API_INTEGRATION”,”api_integration_preference”:{“rest_api_integration”:{“integration_method”:”PAYPAL”,”integration_type”:”FIRST_PARTY”,”first_party_details”:{“features”:[“PAYMENT”,”FUTURE_PAYMENT”,”REFUND”,”ADVANCED_TRANSACTIONS_SEARCH”,”VAULT”,”TRACKING_SHIPMENT_READWRITE”],”seller_nonce”:”a1233wtergfsdt4365tzrshgfbaewa36AGa1233wtergfsdt4365tzrshgfbaewa36AG”}}}}]}
    Response Debug ID: 595638adc8cc
    Response: Array

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @kyle9296,

    This error mostly occurs when a buyer is using an outdated browser or has JavaScript disabled in the browser. In that case, the PayPal smart buttons may fail to render on the Checkout page and this error occurs when the buyer clicks the regular “Place order” button.
    The best suggestion for the buyer would be to try a newer browser version, like the latest Chrome or Firefox.
    The next plugin update will improve the compatibility with older browsers, like older mobile Safari versions, and should reduce the likelihood of this error occurring.

    Kind regards,
    Niklas

    Dear @niklasinpsyde,

    I’ve got the same error on my site with the latest Chrome and Firefox, too.

    
    2022-10-05T15:02:03+00:00 DEBUG  https://api.paypal.com/v2/checkout/orders/
    Response Debug ID: 8a7f2ee866e61
    Response: Array
    (
        [code] => 404
        [message] => Not Found
    )
    
    Response Body: 
    
    2022-10-05T15:02:03+00:00 WARNING Could not retrieve order.
    2022-10-05T15:02:03+00:00 ERROR Payment failed: Could not retrieve order. OrderEndpoint.php:459
    
    Plugin Support Syde Niklas

    (@niklasinpsyde)

    A pre-release version of the next update with improved compatibility is available for testing before it will be officially released sometime next week.

    @simkog If you encounter this error on your page with the latest Chrome and Firefox versions, there is likely a JavaScript error caused by a potential conflict. I suggest creating a new thread for yourself with a link to your site so we could take a closer look.
    Thanks!

    Kind regards,
    Niklas

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