• Resolved jakekarno

    (@jakekarno)


    Hi there,

    I’m having an issue using Optimizepress with Litespeed cache and it is taking me to the brink of insanity..

    On pages with a checkout, sometimes an error comes up saying “your nonce is not verified”

    I’ve been going over this with Optimizepress support and a developer for a month but we are still yet to come up with a fix. I understand (basically) why this is happening but not how to fix it.

    we have tried ESI but not understanding it, I can’t say if we’ve done it right or not.

    I’m at my wits end. Because it only happens sometimes there seems to be no good way to test whether any fix works other than logging onto the page 3-4 times a day.

    Any help is muuuchh appreciated, you’re my only hope!

    Thanks

    Jake

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

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

    (@qtwrk)

    Hi,

    Could you please kindly ask them the nonce name they are using ?

    Best regards,

    Thread Starter jakekarno

    (@jakekarno)

    Thanks for your reply.

    This is the list. Apparently the rest_nonce is the main culprit but the others relate to the same checkout form.

    rest_nonce
    opc_stripe_nonce
    opc_calculate_tax_nonce
    opc_coupon_apply_nonce

    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please enable ESI

    then in ESI nonce list

    add

    rest_nonce
    opc_stripe_nonce
    opc_calculate_tax_nonce
    opc_coupon_apply_nonce

    into it, save , purge all

    if above doesn’t work , try

    rest_nonce private
    opc_stripe_nonce private
    opc_calculate_tax_nonce private
    opc_coupon_apply_nonce private

    Best regards,

    Thread Starter jakekarno

    (@jakekarno)

    Thanks!

    It’s currently set up like it is in your first example but I will try the second.

    Is there any way to test it other than opening the page as often as possible to check? It only shows up sometimes.

    It’s quite frustrating!

    J

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yeah well , that’s the thing bothers me as well.

    but nonces have life span for 12 hours , you should know if it works or not after that time.

    Best regards,

    Thread Starter jakekarno

    (@jakekarno)

    Hi there,

    Unfortunately it happens randomly but I just loaded the page and it’s still happening.

    So neither ESI solution has worked.

    Is there anything else I can do?

    Thanks

    Jake

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    okay , please try:

    1. go to toolbox -> export/import -> export your current setting

    2. after you exported setting , now go to Cache page , set all TTL that is higher than 39600 , to 39600 , which is 11 hours , leave the ones the is smaller than 39600 intact, , save and purge all, then see how it goes

    ———-

    if above one didn’t work , which I feel might be in rare case, nonce is set into dynamic generated inline JS , and JS file has been minified/combined and saved into cache, in this case, I would like you to try reset to default setting , enable ESI , and put previously mentioned ESI nonce into list , and see how it goes

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m going to mark this topic “Resolved”, due to lack of activity.

    If you still need help, please feel free to re-open it.

    Best regards,

    Thread Starter jakekarno

    (@jakekarno)

    So far I think the TTL settings have worked. Many thanks for all your help.

    Best

    Jake

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘The Nonce Problem’ is closed to new replies.