![Klarna logo](https://cdn.klarna.com/1.0/shared/image/generic/logo/sv_se/basic/logo_black.png?width=200)
Klarna Payments for WooCommerce is a plugin that extends WooCommerce, allowing you to take payments via Klarna.
- Klarna Payments is available in Australia, Austria, Belgium, Canada, Czech Republic, Denmark, Finland, France, Germany, Greece, Hungary, Ireland, Italy, Mexico, Netherlands, New Zealand, Norway, Poland, Portugal, Romania, Slovakia, Spain, Sweden, Switzerland, United Kingdom, and United States.
- You need an agreement with Klarna to be able to use this plugin.
- WooCommerce 5.6.0 or newer is required.
- PHP 7.0 or higher is required.
- Make sure that you have enabled pretty permalinks in your WordPress installation. Otherwise callbacks from Klarna back to your store won’t work and orders will not be updated with the correct order status/information.
- Your site must be able to handle anchor links (or URI fragments) correctly. This means that when an anchor link is triggered the browser should not trigger a full reload of the page. You can test this by navigating to one of your website pages, enter a following /#testhash to the url in the browser address bar and then hit Enter. This shall not trigger a full reload of the page.
- To get the order total to match between WooCommerce and Klarna you need to configure WooCommerce to display prices with 2 decimals. More information about displaying of prices and how it can cause rounding issues can be found in this article.
- Go to: WooCommerce > Settings > Payments > Klarna Payments.
- Enable Klarna Payments by checking the Enable Klarna Payments checkbox.
- Title – Payment method title. Changes what the payment method is called on the order received page as well as the email that is sent to the customer. The Title is not customizable by merchants within Woo checkout, as the title is set by Klarna.
- Description – Enter the description of the payment method displayed in the checkout.
- Test mode – Tick the checkbox if you make purchases using a test account.
- Logging – Logging events in the module. The log can be found by navigating to → WooCommerce → System Status → Logs.
- What is Klarna link – Tick the checkbox if you want to float the What is Klarna link to the right.
- Product URLs – Tick the checkbox if you want to send product and product image URLs to Klarna.
- Add Klarna Urls to order email – This will add Klarna urls to the order emails that are sent. You can read more about Klarna URLs here.
- Customer type – Select the customer for the store (B2C or B2B).
Each Klarna country has its own set of country specific settings. By adding merchant credentials to a specific country you also enable Klarna Payments as an available payment method for that country. Note that you need an agreement with Klarna for each country enabled and your store needs to be able to process purchases in the local currency.
- Description – Add a description for the specific country. If no description is added, the default description will be used.
- Title – Add a title for the specific country. If no title is added, the default title will be used.
- Production username – Username that you received from Klarna.
- Production password – Password that you received from Klarna
- Test username – Username for test purchases that you received from Klarna (if you have applied for a test account).
- Test password – Password for test purchases that you received from Klarna (if you have applied for a test account).
With the iframe settings section you have the possibility to alter the appearance of the Klarna Payments Widget displayed in the checkout. Here you can change things like background colors, button colors and text colors.
- Klarna Payments should work with most themes. However, the plugin is only tested with the Storefront theme and we do not guarantee that it will work with other themes. Common situations when errors occur are:
– Themes/plugins with customized template files for WooCommerce checkout page.
– Themes/plugins that removes standard checkout fields.
– Themes/plugins that modifies the checkout into a multi step checkout.
- The plugin and Klarna only handle product quantity that is specified as an integer. For instance you can’t send 1.5 as the product quantity to Klarna. If you sell products where you charge by length or dimension we recommend that you use the Measurement Price Calculator plugin.
- WooCommerce does not offer multi currency support. This can be handled via several different plugins. This plugin is compatible with the Currency Switcher for WooCommerce plugin from Aelia. We do not guarantee that other multi currency plugins will work together with the Klarna plugin.
Krokedil and Klarna do not offer help with adapting your theme or plugin within regular support.
- If Klarna Payments isn’t displayed as an available payment method in checkout page make sure customer billing country is one of countries you have entered Klarna Payments credentials for and that selected currency matches customer billing country.
No, you should not do this. WooCommerce has two different pages for cart and checkout. Some store owners want to reduce the steps for the customer to be able to complete an order, but this can cause conflicts and errors, and also look strange.
If you only want one page for checkout and cart, we suggest that you remove the cart page from the equation and add functionality to change products in the shopping cart on the checkout page.
When the installation is done and you are ready to go live you need to contact Klarna integration support. Klarna will then verify the integration before the shop goes live.