Klarna Docs - Configuration


This article describes how to enable Klarna payments in the Klarna Adobe Commerce extension.

You can quickly enable Klarna payments in the Admin by changing a few settings.

Before proceeding, make sure you have your API credentials set up.

To configure Klarna payments in the Klarna extension, follow these steps:

  1. In the Adobe Commerce Admin, go to Stores > Configuration > Sales > Payment Methods > Klarna > Klarna Payments.
  2. Expand the Klarna Payments section and set Enable to Yes.
  3. Set Allowed Countries to one of the following options:
  • All Allowed Countries: Customers from all countries specified in your store configuration can use this payment method.
  • Specific Countries: When you choose this option, the Payment from Specific Countries list appears. From that list, you can select multiple countries.

4. If your Klarna account supports business to business (B2B) payments, set Enable B2B to Yes. Note the following:

  • Since currently there’s no supported Adobe Commerce standard selector for customers to flag the order as business to consumer (B2C) or B2B, an order is only considered a B2B one when a customer enters data in the Company Name billing address field.
  • Your Merchant ID (MID) has to be enabled for B2B by Klarna. This option is currently available only is selected regions.

4. If you want Klarna to prepare a set of personalized credit options for each customer, set Enable Data sharing to Yes and set Enable Data sharing on load to one of the following options:

  • No: Customer billing and shipping address information is shared with Klarna after the transaction is authorized. If a shipping address error is encountered during authorization, the customer is instructed to return to the previous step and correct the problem.
  • Yes: Customer billing and shipping address information is shared with Klarna when the payment method is selected during the checkout process.

5. If you offer multiple payment methods, enter a number for Sort Order to determine the sequence in which Klarna appears when listed with the other payment methods.

If you customize checkout to consist of multiple steps or pages and offer payment methods that pull funds directly from the customer, for example, a bank transfer or Sofort, you have to appropriately customize the Klarna payments integration to finalize the authorization, as covered in the authorization guide.