Get started
Customization
Troubleshooting
- FAQ
- Error codes
- Callbacks
- Known compatibility issues
- Compatible plugins and themes
- Files to exclude from optimization
- Troubleshooting the checkout flow
- Troubleshooting the Pay for order/Hosted Payment Page flow
- Troubleshooting WooCommerce Subscriptions and Klarna
- Klarna Developer logs
- Pending payment orders and held stock
Klarna support information
Additional Klarna plugins
Files to exclude from optimization
If you are using some kind of optimization feature there are files that needs to be excluded from any caching or concatenating.
For Klarna for WooCommerce you need to exclude the following files:
- wp-content/plugins/klarna-payments-for-woocommerce/assets/js/klarna-payments.js
- wp-content/plugins/klarna-payments-for-woocommerce/Blocks/Payment/build/klarna-payments-block.css
- wp-content/plugins/klarna-payments-for-woocommerce/vendor/krokedil/klarna-onsite-messaging/src/assets/js/klarna-onsite-messaging.js
- js.playground.klarna.com
- js.klarna.com
- cdn.klarna.com
- x.klarnacdn.net
And perhaps:
- wp-content/plugins/klarna-payments-for-woocommerce/vendor/krokedil/klarna-express-checkout/assets/js/kec-cart.js
- wp-content/plugins/klarna-payments-for-woocommerce/vendor/krokedil/klarna-express-checkout/assets/css/kec-cart.css
With the inclusion of On-site Messaging into Klarna for WooCommerce introduced in version 3.5.0, the list above has been updated. This means that you will need to update your list of excluded files if you haven’t done so after the release of KP 3.5.0.