• Resolved dibix

    (@dibix)


    I get an error 500 when paypal calls this API
    /wc-api/Eh_PayPal_Express_Payment/?c=express_details&express=true&p=https://www.ZZZ.it/checkout/&pay_for_order=true&token=XXX&PayerID=YYY

    in my debug.log file I have no Fatal error but this notice

    [26-May-2022 15:31:49 UTC] PHP Notice: Undefined variable: order in …/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/class-paypal-express-api.php on line 605

    and in this line I have
    if (!$order) {
    $order_id = (isset($response[‘PAYMENTREQUESTINFO_0_PAYMENTREQUESTID’]) ?
    $response[‘PAYMENTREQUESTINFO_0_PAYMENTREQUESTID’] : ”);
    $order = wc_get_order($order_id);
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Eh_PayPal_Express_Payment error 500’ is closed to new replies.