Skip to main content

Klarna

With Klarna connected, you capture, refund and release Klarna payments straight from the order in Invdash. This page is about the provider Klarna in Invdash, which covers Klarna Payments and Klarna Checkout. If the shop uses Kustom Checkout (formerly Klarna Checkout), connect Kustom instead.

A connected Klarna account

How payments work in general, such as when they're captured and what the payment panel shows, is in Payments.

What you need​

  • To be an owner or admin in Invdash.
  • An API username and API password from Klarna. You create them in Klarna's portal, which the form links to. The username looks something like PK12345_….
  • To know whether the shop's checkout runs against Klarna's live or test environment. The two have different portals and different credentials.

Klarna can tell you how to create API credentials in its portal.

Connect Klarna​

  1. Open Settings › Integration › Payment gateways.
  2. Click Connect a provider at the store. If the store already has a provider, choose Add another provider under More actions.
  3. Choose Klarna under Provider.
  4. Choose the Environment: Live or Test (Playground).
  5. Fill in the API username and API password and click Connect Klarna.

Invdash tests the connection straight away. You can run the test again at any time with Test connection. The test checks that Klarna accepts the credentials and, if the store has a recent order paid with Klarna, that the order is in the account. It then says Verified and which order was found.

Under More actions you find Edit credentials, where you change the environment or the credentials, and Disconnect. If you change the environment, you need to enter the credentials that belong to the new one.

Test mode

An account in Test (Playground) moves no real money. If the store isn't marked as a test store, Invdash warns with Test mode at the account.

Shops and orders it handles​

Klarna works for WooCommerce and Abicart shops. A Shopify shop's payments always go through Shopify, see Shopify.

Invdash goes by the order's payment method in the shop:

  • An order paid with Klarna Payments is handled through the Klarna account only.
  • An order paid with Klarna Checkout or Kustom Checkout is looked for in the store's Kustom account first, if one is connected, and then in the Klarna account.
  • Other Klarna payment methods are looked for in the Klarna account first.

The payment is found by Klarna's order id, which the shop saves on the order. You see it as Klarna reference on the Payment card and can copy it to look the payment up in Klarna's portal.

What you can do​

ActionKlarna
Capture all or part of the amountYes
Refund all or part of what's been capturedYes
Release reservation before anything is capturedYes
Release the rest after a partial captureYes
Extend reservationYes

A few things to know:

  • When Invdash captures the payment as the order ships, the tracking number and the carrier go along to Klarna.
  • When the order's whole total has been captured on shipping and money is still reserved, Invdash releases the rest, so the customer has no money held.
  • Reserved until shows when Klarna's reservation runs out. Extend reservation pushes the day out by Klarna's standard extension. Klarna refuses an extension once the order is too old, and Klarna's own answer is then shown under the message.

If something doesn't work​

  • "Klarna rejected the API credentials." Check the username and password under Edit credentials, and that the Environment matches the credentials.
  • "The credentials work, but order … isn't in this Klarna account." The shop's checkout uses another account or environment (Live or Test), or the order is with Kustom.
  • "The credentials work. When they were tested, the store had no Klarna order to check them against." The account is verified, but test again once the store has a Klarna order.
  • "Klarna can't find this payment." Check that the order was paid with Klarna and that the connected account is the shop's.
  • "No Klarna payment was found for this order." The order has no Klarna order id, so Invdash can't look the payment up. Handle it in Klarna's portal.
  • "No Klarna account is connected to this store." Connect Klarna as described above.
  • "Klarna turned it down." Klarna's own explanation is on the line below. Fix what it points to and choose Retry.
  • "Couldn't reach Klarna." Try again in a moment.

More messages that apply to every provider are in Payments.