Support » Plugin: LiteSpeed Cache » Nonce error at checkout with Easy Digital Downloads

  • Resolved rotornut44

    (@rotornut44)


    Hello,
    I’m running into an issue that I cannot seem to properly resolve. I have the plugin Easy Digital Downloads installed, and when using the Paypal Standard checkout option, users are being met with a “Nonce verification has failed” error page. This is not happening for Stripe.

    This only happens when the Litespeed Cache is enabled.
    I do have Litespeed settings set to not cache logged in users. Furthermore, the checkout page is also set to not be cached through Litespeed, as well as through EDD.

    What could be causing this issue?

    I did have ESI Nonces activated and added the EDD Nonces from the Github:
    edd-* private
    edd_* private

    However, this didn’t seem to make a difference. Still, the only solution is disabling the cache altogether.

    Any ideas? Thanks!
    -Chris

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please provide the report number

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    best regards,

    Thread Starter rotornut44

    (@rotornut44)

    @qtwrk
    Report number: IBWOTOXZ
    Report date: 03/21/2022 17:03:22

    Plugin Support qtwrk

    (@qtwrk)

    you set

    /checkout/*

    please try checkout alone , see if it helps

    Thread Starter rotornut44

    (@rotornut44)

    Hello @qtwrk,
    I applied this change and still receive the Nonce error.

    Plugin Support qtwrk

    (@qtwrk)

    the error happens on “/checkout/” page ?

    have you checked with EDD team ? the nonce name , if I recall correctly , was supplied from them

    Thread Starter rotornut44

    (@rotornut44)

    Hi @qtwrk

    I have posted a thread over on their support forums as good measure, but haven’t got much in response just yet.

    This is the URL at the time I get the error:
    checkout/?payment-mode=paypal&nocache=true

    However, this line changes depending on the default payment processor set, no matter which option you choose for checkout.

    The above is used if Paypal is the default processor. But the following is used if Stripe is the default processor, even if Palpal is selected for checkout:
    checkout/?payment-mode=stripe-prb&nocache=true

    Thread Starter rotornut44

    (@rotornut44)

    Hello,
    I wanted to bump this thread as I am still running into the same issue months later. I have talked with Easy Digital Downloads support, and they say it’s not on their end and confirmed that I am using the correct ESI Nonces.

    Just as above, I still cannot use Paypal as a checkout option when the Cache option is enabled. Stripe works just fine.

    I’m at a loss here as even after disabling all plugins except for those I absolutely need to run the basic site and store, I still get the Nonce error on checkout when navigating to PayPal’s checkout page.

    • This reply was modified 2 months, 1 week ago by rotornut44. Reason: added ref video
    Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic , we will investigate further.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.