Get started
Customization
Troubleshooting
- Embedded checkouts in WooCommerce
- Checkout blocks in WooCommerce
- Error codes
- Compatible plugins
- Known compatibility issues
- Shipping Methods in iframe
- FAQ
- Optimizing your checkout when using an Iframe-based checkout
- Callbacks
- Troubleshooting the checkout flow
- Troubleshooting the Pay for order/Hosted Payment Page flow
- Troubleshooting WooCommerce Subscriptions and KCO
- Klarna Developer logs
- Pending payment orders and held stock
Klarna support information
Additional Klarna plugins
Changelog
1.13.1
- Feature - Added deprecation notice on the admin pages.
- Fix - Resolved fatal error on plugin activation.
- Fix - Resolved PHP 8.2 Creation of dynamic property deprecation warning.
- Feature - Added the 'kosm_locale' filter, allowing you to set the locale, irrespective of the currency.
- Fix - Fixed a fatal error due to missing client ID.
- Fix - Fixed a fatal error that happened when a global product variable was passed as a string or integer.
- Fix - Fixed an undefined index warning that happened when both Klarna Payments and Klarna Checkout were not active.
- Fix - Fixed an issue where the placement would sometimes not appear until a product variant is selected.
- Feature - The plugin is now compatible with WooCommerce's "High-Performance Order Storage" ("HPOS") feature.
- Feature - You can now specify the placement location using action hooks and priorities through the plugin settings.
- Fix - Resolved an issue causing an undefined index notice.
- Fix - The placement will now remain visible even when a non-valid price is entered.
- Fix - Fixed an issue where the placement was not appearing on certain variable products until a variant was selected.
- Fix - Addressed a deprecation warning.
- Feature - Added support for Romanian.
- Tweak - Added a check for if WooCommerce is enabled before initializing the plugin.
- Feature - Added support for Flycart's Discount Rules.
- Tweak - Removed redundant enqueue.
- Feature - Add support for Greece.
- Feature - Added support for the third-party plugin "WooCommerce Measurement Price Calculator".
- Enhancement - You can now use the 'kosm_region_library' filter to force a specific regional library. See [documentation](https://docs.krokedil.com/klarna-for-woocommerce/additional-klarna-plugins/klarna-on-site-messaging/#customize-region-dependent-js-libraries).
- Tweak - The osmDebug option will now also tell which library is being used. Used for debugging purposes.
- Fix - Update kernl.
- Feature - Added filter 'kosm_data_client_id' for filtering data client ID.
- Enhancement - Fixed an issue where the placement would not appear on the page when added through the Elementor Builder's widget.
- Fix - Fixed critical error happening when the widget or shortcode is used in the header.
- Fix - Fixed the locale for Polish to be passed correctly.
- Fix - Fixed an issue caused by the customer object in WooCommerce missing.</
- Fix - We now enqueue the scripts directly in the shortcode, this solves an issue where the needed scripts did not get loaded when using the shortcode in the footer or header using widget areas with Gutenberg Blocks.
- Fix - Fixed an issue with defaulting the locale for the Placement to en-US. Now the placement wont show if the locale is not set.
- Feature - Add support for Ireland.
- Feature - Add support for Portugal.
- Feature - Add support for Poland.
- Fix - Fixed an issue that could happen if the placement data key was not added.
- Enhancement - Add support to handle product bundles with pricing set to keep the price of the bundled products.
- Fix - Add a check to make sure we only run calculations on numeric values. WooCommerce could sometimes return prices as empty strings, which has now been considered and solved.
- Feature - Added support to automatically populate the data-purchase-amount when using a shortcode on a product or cart page as long as no purchase amount has been specified.
- Fix - We now update the placement purchase amount properly when updating the cart on the cart page.
- Fix - Fixed an issue of not including taxes in the variable product price.
- Fix - Fixed a error caused by the global post variable not being present on a page.
- Enhancement - Add support for France, Canada and New Zealand.
- Tweak - Remove code that overwrote Klarnas cookie.
- Fix - Fixed Norwegian, Finish and Dutch locales.
- Enhancement - Added support for multicurrency plugins.
- Fix - Removed JavaScript defaulted version number. This caused an issue when loading the JavaScript from Klarna when they made an updated their system.
- Feature - Added a widget to add Klarna on-site messaging to a widget field.
- Enhancement - Added support for changing the total value data tag on a page with multiple placements.
- Fix - Small JS fix that could cause issues with single product page display and variable products.
- Feature - Added [onsite_messaging] shortcode to be able to display OSM placements on other places than plugin default.
- Tweak - Removed inline javascript.
- Tweak - Coding standards fix.
- Fix - Error notice fix.
- Fix - Updated JavaScript library URL to not include the plugin version number.
- Fix - Updated the US library endpoint to NA.
- Fix - Changed locale name for Norwegian.
- Feature - Added support for Australia.
- Fix - Changed url to enqueue Klarna JS file for production.
- Feature - Added support for new way to integrate On-Site Messaging.
- Tweak - Use constant to enqueue correct script versions.
- Tweak - Added admin notice to inform current users that they need to update the way OSM is integrated.
- Enhancement - Only show iframe is customer matches the store base country.
- Enhancement - Added support for custom themes.
- Feature - Added support for themes.
- Enhancement - Use the cheapest variation instead of 0 for the placement on a variable product.
- Fix - Fixed an issue where placement filters did not run correctly.
- Fix - Fixed not using the price shown for the placement in some cases depending on tax settings.
- Fix - Fixed bug where Placement ID was not set correctly.
- Enhancement - Added Kernl Versioning.
- Initial release