• Hello,

    Can anyone please tell me what are the nonces used when adding a product to cart ?

    I need these nonces to include in ESI in Litespeed cache plugin so it can work normally.
    Now, when cache is created, cart works normally for about 12-20 hours, then just start showing empty cart.

    I use WPC AJAX add to cart for Woocommerce and WPC fly cart plugins.

    Thank you in advance,
    Lazar

Viewing 1 replies (of 1 total)
  • nebadom

    (@nebadom)

    I am having a similar problem: after a few hours, the endpoint ?wc-ajax=wooaa_add_to_cart fails because of some permission check failed. After digging it a bit, this seems related to some expired nonces. Initially, I though it was related to the Object Cache Pro 3, but after disabling it the issue resurfaced a few hours later. Again, so now, I have to clear WPRocket manually every so often and reducing the cache lifespan did not fix my problem.

    According to this thread (https://wpc.ticksy.com/ticket/3719613/), the workaround is to disable the security check. However, this doesn’t seem like a permanent solution.

    Please advise/AR

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.