Klarna Payments – FAQ
I have Klarna Payments but only one payment method is visible in my checkout, why is that?
The Klarna payment methods displayed in the checkout are configured based on your Klarna contract. Changes to the payment methods are updated within Klarna. To change the Klarna payment methods, either update your Klarna options in the Klarna Merchant Portal or work with your Klarna sales person.
Why do I see orders stuck as Pending payment in WooCommerce?
As of version 1.8.0 (released 23 July 2019), the order and payment process has slightly changed in the plugin. The new flow works in the following way:
- Customer clicks the Place order button in checkout.
- The order is created in WooCommerce and gets order status Pending payment.
- Order data is sent to Klarna.
- If Klarna approves the purchase request, the order status in WooCommerce changes to Processing and the customer is redirected to the order received page.
Orders that are created in WooCommerce, but not successfully created in Klarna (e.g. Klarna declines the authorize call for the customer), will stay Pending payment status, or will be set to Canceled in WooCommerce. These orders should not be shipped as the order has not been paid. In the WooCommerce documentation you can learn more about how to setup WooCommerce to automatically cancel unpaid orders after a certain amount of minutes (in the Inventory Options section).
This updated approach aligns better with WooCommerce architecture, is similar with other major payment processors, and removes the option for a Klarna order to be placed without a corresponding WooCommerce order.
I see a Pending payment order in my WooCommerce order view that does not include any order notes, why is that?
The customer has closed their browser window before completing the authentication modal window with Klarna. These orders should not be shipped as the order has not been paid.
Error: BAD_VALUE: order_lines.total_tax_amount
When seeing this error: BAD_VALUE: order_lines.total_tax_amount on create_session in the WooCommerce Status logs. Check tax settings and rules and make sure there aren’t 0% tax rules being applied incorrectly (as in this screen shot).
How do i add attachments or EMD to a Klarna Payments order?
We have example code that you can follow. Remember, this is only an example and not code that is to be used live. You will need to change the data and attachment type that you send to Klarna.
You can find more information about this here: https://developers.klarna.com/api/#payments-api-create-a-new-credit-session