• Hello all,
    The most recent update to the Yith Gift Card plugin has caused fatal errors where the PayPal Express Checkout does not work for any transactions (not just gift cards). Every order when they go to pay says critical error/internal error.

    I disabled the Gift Card plugin and PayPal is working again. This is the JSon from each error.

    :
    PHP Fatal error: Uncaught Error: Undefined constant YITH_YWGC_Cart_Checkout::ORDER_GIFT_CARDS in /nas/content/live/milkbarn/wp-content/plugins/yith-paypal-express-checkout-for-woocommerce/includes/class.yith-paypal-ec-request.php:535\nStack trace:\n#0 /nas/content/live/milkbarn/wp-content/plugins/yith-paypal-express-checkout-for-woocommerce/includes/class.yith-paypal-ec-request.php(219): YITH_PayPal_EC_Request->add_payment_fields(Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order), Array)\n#1 /nas/content/live/milkbarn/wp-content/plugins/yith-paypal-express-checkout-for-woocommerce/includes/class.yith-paypal-ec-api-handler.php(277): YITH_PayPal_EC_Request->set_express_checkout(Array)\n#2 /nas/content/live/milkbarn/wp-content/plugins/yith-paypal-express-checkout-for-woocommerce/includes/class.yith-paypal-ec-api-handler.php(180): YITH_PayPal_EC_API_Handler->call_set_express_checkout(Array)\n#3 /nas/content/live/milkbarn/wp-content/plugins/yith-paypal-express-checkout-for-woocommerce/includes/class.yith-paypal-ec-gateway.php(217): YITH_PayPal_EC_API_Handler->get_request_url(Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order), false)\n#4 /nas/content/live/milkbarn/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(982): YITH_Gateway_Paypal_Express_Checkout->process_payment(140669)\n#5 /nas/content/live/milkbarn/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1206): WC_Checkout->process_order_payment(140669, 'yith-paypal-ec')\n#6 /nas/content/live/milkbarn/wp-content/plugins/checkout-for-woocommerce/includes/Action/CompleteOrderAction.php(55): WC_Checkout->process_checkout()\n#7 /nas/content/live/milkbarn/wp-content/plugins/checkout-for-woocommerce/includes/Action/CFWAction.php(77): Objectiv\\Plugins\\Checkout\\Action\\CompleteOrderAction->action()\n#8 /nas/content/live/milkbarn/wp-includes/class-wp-hook.php(307): Objectiv\\Plugins\\Checkout\\Action\\CFWAction->execute('')\n#9 /nas/content/live/milkbarn/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)\n#10 /nas/content/live/milkbarn/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#11 /nas/content/live/milkbarn/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(90): do_action('wc_ajax_complet...')\n#12 /nas/content/live/milkbarn/wp-includes/class-wp-hook.php(307): WC_AJAX::do_wc_ajax('')\n#13 /nas/content/live/milkbarn/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(false, Array)\n#14 /nas/content/live/milkbarn/wp-includes/plugin.php(476): WP_Hook->do_action(Array)\n#15 /nas/content/live/milkbarn/wp-includes/template-loader.php(13): do_action('template_redire...')\n#16 /nas/content/live/milkbarn/wp-blog-header.php(19): require_once('/nas/content/li...')\n#17 /nas/content/live/milkbarn/index.php(17): require('/nas/content/li...')\n#18 {main}\n thrown in /nas/content/live/milkbarn/wp-content/plugins/yith-paypal-express-checkout-for-woocommerce/includes/class.yith-paypal-ec-request.php on line 535, referer: https://milkbarnkids.com/checkout/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Yith PayPal Express Errors Caused by Yith Gift Card Update’ is closed to new replies.