• Resolved marcelbusch

    (@marcelbusch)


    Hey, I’m really grateful for this plugin, but since some time I keep getting errors when I try to checkout via Paypal Express. I think it might have something to do with a recent woocommerce update, because they added an extra field for shipping or billing e-mail, I’m not sure, but the error says something about the billing email field too.

    Wordpress error log:

    [01-Dec-2021 15:35:05 UTC] PHP Notice:  Undefined index: billing_email in .../html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 369
    [01-Dec-2021 15:35:10 UTC] PHP Fatal error:  Uncaught Error: Cannot use object of type Exception as array in .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/log.php:15
    Stack trace:
    #0 .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/log.php(46): Eh_PayPal_Log::remove_data(Object(Exception))
    #1 .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/class-paypal-express-api.php(593): Eh_PayPal_Log::log_update(Object(Exception), 'catch Exception...')
    #2 .../html/wp-includes/class-wp-hook.php(303): Eh_PayPal_Express_Payment->perform_api_request_paypal('')
    #3 .../html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #4 .../html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #5 .../html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action('woocommer in .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/log.php on line 15

    Debug information on website:

    Notice: Undefined index: billing_email in .../html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php on line 369
    
    Fatal error: Uncaught Error: Cannot use object of type Exception as array in .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/log.php:15 Stack trace: #0 .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/log.php(46): Eh_PayPal_Log::remove_data(Object(Exception)) #1 .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/class-paypal-express-api.php(593): Eh_PayPal_Log::log_update(Object(Exception), 'catch Exception...') #2 .../html/wp-includes/class-wp-hook.php(303): Eh_PayPal_Express_Payment->perform_api_request_paypal('') #3 .../html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array) #4 .../html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #5 .../html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action('woocommer in .../html/wp-content/plugins/express-checkout-paypal-payment-gateway-for-woocommerce/includes/log.php on line 15
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter marcelbusch

    (@marcelbusch)

    Ok, the reason my order does not go through is propably related to another plugin, but the reason theres a server error lies in your plugin, when I wrap the $e exception on line 593 in class-paypal-express-api.php in an array, I get redirected and can access the debug information the plugin generates.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @marcelbusch,

    We will pass this to our developers and will do the necessary changes in the next release.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error during checkout prob due to missing billing email’ is closed to new replies.