Causing error with Klarna Checkout




Wordpress LScache Plugin: Causing error with Klarna Checkout

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, We have an issue with this plugin. We run WooCommerce with Klarna Checkout plugin. When we enable LiteSpeed Cache the button Choose another payment method in the Klarna checkout is not working. I have contacted Klarna Checkout who says this is because of issues in the Litespeed Cache plugin. I dont know if that is correct, or if it is the Klarna plugin that is defect, I just want this issue fixed When a visitor presses the Choose another payment method the standard checkout page should be loaded, but instead nothing happens. The button is simply not working. The page I need help with: https://konkral.se/kassa Hi, this looks like nonce issue please seach keyword change_payment_method_nonce through the Klarna plugin file and show me what you found Best regards, Here is what I found: klarna-checkout-for-woocommerce assets js klarna-checkout-for-woocommerce.js (2 hits) Line 99: nonce: kco_params.change_payment_method_nonce Line 133: nonce: kco_params.change_payment_method_nonc and klarna-checkout-for-woocommerce classes class-kco-gateway.php (1 hit) Line 271: change_payment_method_nonce => wp_create_nonce( kco_wc_change_payment_method ), and klarna-checkout-for-woocommerce assets js klarna-checkout-for-woocommerce.min.js (2 hits) jQuery(function(a) if( undefined ==typeof kco_params)return!1 var r= bodyEl:a( body ),checkoutFormSelector:a( form.checkout ),paymentMethodEl:a(input[name=payment_method ]),paymentMethod: ,selectAnotherSelector: #klarna-checkout-select-other ,shippingUpdated:!1,blocked:!1,preventPaymentMethodChange:!1,timeout:null,interval:null,klarnaUpdateNeeded:!1,documentReady:function() r.log(kco_params),0 ESI nonce list , and also enable ESI after you have done it , please also provide the report number , you can get it in toolbox -> report -> click send to LiteSpeed Best regards, Keyword added. Report generated, LGFZPZXU. Hi, okay , from report it looks alright please let me know that goes Best regards, Unfortunately we are still experiencing the same issue. When the other payment method button is clicked the page is reloaded but still it is only the Klarna Checkout showing. now that makes no sense , I just notice the checkout is no-cache after all , so the nonce didnt even gets cached I just tested and it seems working fine on me , how exactly do I need to do to reproduce it ? I just checked again and the issue is still there. Can i share a screen video with you so you can see what I see? What email should I send to? Hi, please upload it somewhere like Google driver or dropbox , then send the share link to support at litespeedtech.com with reference link to this topic Best regards, ]



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference