• Resolved tinodesigns

    (@tinodesigns)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tinodesigns

    (@tinodesigns)

    Also I was just trying to get the system status by going to Woocmmerce -> Status, I get this 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(551): rest_get_server() #5 /xxxx/testpaypal/wp-content/plugins/woocommerce/includes/class-wc-api.php(84): rest_do_request(Object(WP_REST_Request)) #6 /xxxx/ in /xxxx/testpaypal/wp-content/plugins/woocommerce/packages/woocommerce-blocks/src/RestApi.php on line 32

    Looks llike the same error to me, unless I’m missing something.

    Thanks

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @tinodesigns

    PayPal Payments plugin to function correctly requires WooCommerce version 5.3 or higher. The version you are currently using, 3.9.5, is outdated and lacks the necessary classes and methods required for seamless operation.

    To resolve this issue, the only recommendation is to update your WooCommerce installation to at least version 5.3. We are also aware of the need to update our documentation to clarify the minimum required version of WooCommerce to prevent further confusion.

    Kind regards,
    Krystian

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Webhook issue? – requirements met but not running’ is closed to new replies.