Internal Server Error, no redirect, but order saved
-
Hello,
When using any PayPal Plus payment option in the checkout, after submitting the order there is an “Internal Server Error” message on the checkout page (not a “standard” blank server error page, but a red warning message displayed within the checkout page).
The WooCommerce Log has this to say:
2017-10-19T15:51:43+00:00 CRITICAL Uncaught TypeError: Argument 1 passed to WCPayPalPlus\WC\PUI\PaymentInstructionData::__construct() must be an instance of WC_Order, boolean given, called in /www/htdocs/w017303f/bordeauxwein.de/wp-content/plugins/woo-paypalplus/src/WC/PUI/PaymentInstructionRenderer.php on line 36 and defined in /www/htdocs/w017303f/bordeauxwein.de/wp-content/plugins/woo-paypalplus/src/WC/PUI/PaymentInstructionData.php:60
Stack trace:
#0 /www/htdocs/w017303f/bordeauxwein.de/wp-content/plugins/woo-paypalplus/src/WC/PUI/PaymentInstructionRenderer.php(36): WCPayPalPlus\WC\PUI\PaymentInstructionData->__construct(false)
#1 /www/htdocs/w017303f/bordeauxwein.de/wp-includes/class-wp-hook.php(298): WCPayPalPlus\WC\PUI\PaymentInstructionRenderer->delegate_thankyou(16905)
#2 /www/htdocs/w017303f/bordeauxwein.de/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#3 /www/htdocs/w017303f/bordeauxwein.de/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#4 /www/htdocs/w017303f/bordeauxwein.de/wp-content/plugins/woocomDespite the error message, the order actually is saved in WooCommerce, the client gets a confirmation mail and an invoice, but of course he has not completed the payment because he never got redirected to PayPal at all. So we cannot process the order.
WordPress, Woo and Woo Germanized Pro are all updated to latest version.
PHP version running is 7.0Any idea whats wrong?
Thanks,
Sebastian Schalipp
Web DeveloperThe page I need help with: [log in to see the link]
- The topic ‘Internal Server Error, no redirect, but order saved’ is closed to new replies.