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

  • 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 6 replies - 1 through 6 (of 6 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

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