• Resolved graniteindustries

    (@graniteindustries)


    We have been experiencing an issue on our website off and on for about 4 months now. The issue always results in the same error message for the user: Could not validate nonce. Obviously this is not ideal as an e-commerce website. The error continues to happen and it always seems attached to the Woocommerce Paypal Payments Plugin. Can you help resolve this issue?

    Here’s the entire error message from the data log:
    [08-Jul-2021 15:49:27 UTC] PHP Fatal error: Uncaught WooCommerce\PayPalCommerce\Button\Exception\RuntimeException: Could not validate nonce. in /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/class-requestdata.php:50

    And here’s the rest of the trace:

    #0 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/class-dataclientidendpoint.php(69): WooCommerce\PayPalCommerce\Button\Endpoint\RequestData->read_request('ppc-data-client...')
    #1 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/class-buttonmodule.php(111): WooCommerce\PayPalCommerce\Button\Endpoint\DataClientIdEndpoint->handle_request()
    #2 /wp-includes/class-wp-hook.php(287): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}('')
    #3 /wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
    #4 /wp in /home/granitn5/public_html/store/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/class-requestdata.php on line 50

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi

    Apologies for the trouble.
    This issue should be resolved with our next plugin update which we are currently preparing. We are aiming for sometime next week, but it depends on a few factors.
    In any case, you can download a package that includes our fix for this issue from here:
    https://drive.google.com/file/d/1PZuqz_jakapp_0hHeXXAQl-CRlEIPWZQ/
    Please give it a try and let us know if other reports about this come up.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter graniteindustries

    (@graniteindustries)

    Thank you! I’ve installed the plugin and we will see if it works.

    Thread Starter graniteindustries

    (@graniteindustries)

    I installed it this morning and no issues as of now. I will report back if anything arises.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    We will publish a new update asap and hope that will solve the problem. The update is scheduled for the next few days

    Thread Starter graniteindustries

    (@graniteindustries)

    Checking back through my error log, I started getting the error again. It registered an error on: July 14, July 16, July 20
    [20-Jul-2021 16:59:32 UTC] PHP Fatal error: Uncaught WooCommerce\PayPalCommerce\Button\Exception\RuntimeException: Could not validate nonce. /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/class-requestdata.php:50

    I look forward to the update.

    Thanks,
    Granite Industries

    Thread Starter graniteindustries

    (@graniteindustries)

    Same error occurred on July 24 and July 26. I’m running version 1.3.2

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    This issue should be fixed with the most recent version 1.4.0 which was released yesterday.
    Can you please install the new version and let us know if any issues remain?
    Thanks!

    Kind regards,
    Niklas

    Thread Starter graniteindustries

    (@graniteindustries)

    Upgraded to 1.4.0 yesterday afternoon EST (7/28/21).

    Received back to back nonce errors, probably the same customer trying the order twice at 3:33:42 UTC

    [28-Jul-2021 03:33:42 UTC] PHP Fatal error:  Uncaught WooCommerce\PayPalCommerce\Button\Exception\RuntimeException: Could not validate nonce. in /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/class-requestdata.php:50
    Stack trace:
    #0 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/class-dataclientidendpoint.php(69): WooCommerce\PayPalCommerce\Button\Endpoint\RequestData->read_request('ppc-data-client...')
    #1 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/class-buttonmodule.php(111): WooCommerce\PayPalCommerce\Button\Endpoint\DataClientIdEndpoint->handle_request()
    #2 /wp-includes/class-wp-hook.php(303): WooCommerce\PayPalCommerce\Button\ButtonModule::WooCommerce\PayPalCommerce\Button\{closure}('')
    #3 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #4 /wp in /home/granitn5/public_html/store/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Endpoint/class-requestdata.php on line 50
    Thread Starter graniteindustries

    (@graniteindustries)

    01-Aug-2021 16:47:23 UTC Getting the same error message and same stock trace as the error received on July 28, 2021.

    Thread Starter graniteindustries

    (@graniteindustries)

    [04-Aug-2021 03:02:06 UTC] PHP Fatal error. Getting the same error message and same stock trace as the error received on July 28, 2021.

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @graniteindustries,

    The last update resolved one potential cause for this error, but some isolated reports remain and we are investigating how else it could be triggered.
    Since we can’t reproduce it, it’s not quite clear to us yet, but we are working on it.
    If you create a support ticket with us as described in the link below, then we could maybe provide a test version to see if it resolves the error for you.
    https://paypal.inpsyde.com/docs/how-to-request-support-via-widget-on-the-website/
    Thanks!

    Kind regards,
    Niklas

    Thread Starter graniteindustries

    (@graniteindustries)

    My plugin completely stopped taking orders last week. Even for a $1.00 product, it was unable to process the transaction. I’ve moved on to try another plugin.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello

    Today I was informed that the cause of the “Could not validate nonce” message, could be traced back to the “Guest checkout” and “Account creation” settings (can be found under “Accounts and Privacy).
    It seems that this issue occurs when you have the guest user checkout option (first checkbox) disabled and enabled the “register an account in the checkout” and either account username or password generation or both (either of the two lowest checkboxes).

    We are working on getting this resolved, but it might give you an option on how to get this resolved by adjusting these settings

    Once we have a fix in place, we will update this thread as well.

    Kind regards,
    Joost

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I have archived the many replies from other people and I am closing this runaway topic to new replies.

    If someone needs support then per the forum guidelines please start your own topic.

    https://www.ads-software.com/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too

    You can do so here.

    https://www.ads-software.com/support/plugin/woocommerce-paypal-payments/

    Do not reply and take over someone else’s topic. That’s not cool to the person who reported their problem. Start your own topic instead.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Error: Could not validate nonce’ is closed to new replies.