Webhook issue? – requirements met but not running
-
Hi,
so we have installed this on our test version of the store, activating etc, all works fine. However when we create a order and want to pay using paypal we always got a Woocommerce Error: “Something went wrong. PLease try again oder choose a different payment option”
So we made some more tests and found the first problem testing the webhook. Doing so it says webhook can’t be reached.
Entering the webhook URL manually we get some PHP error:Fatal error: Uncaught Error: Class ‘Automattic\WooCommerce\Blocks\RestApi\StoreApi\Controllers\CartItems’ not found in /xxxx/testpaypal/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php:32 Stack trace: #0 /xxxx/testpaypal/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Blocks\RestApi::register_rest_routes(Object(WP_REST_Server)) #1 /xxxx/testpaypal/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /xxxx/testpaypal/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /xxxx/testpaypal/wp-includes/rest-api.php(593): do_action(‘rest_api_init’, Object(WP_REST_Server)) #4 /xxxx/testpaypal/wp-includes/rest-api.php(417): rest_get_server() #5 /xxxx/testpaypal/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP)) #6 /xxxx/testpaypal/wp-includes/class-wp-hook.ph in /xxxx/testpaypal/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 32
WP was up to date, Woocommerce Version Version 3.9.5 PHP 7.2
According to the Plugin requirements these should work.
We tested the plugin on a complete new WP install with standard theme, however also PHP 7.2 and Woocommerce 3.9.5, same result. So it can’t be any plugins or theme files.
Updating woocommerce resulted in it no longer working which is most likely dur to PHP 7.2
Since supposed to be setup in the live shop, it would be way more hastle right now to update PHP and woocommerce. Of course that is eventually the plan but need a bit more time to get that done.
The question is why is this not working, even though our site and server meets the requirements for the plugin.What can we do to get it to work?
Thanks a lot
- The topic ‘Webhook issue? – requirements met but not running’ is closed to new replies.