Klarna Docs - Installation

Installation

Since May of 2018, Klarna Payments has been bundled and distributed with Magento Open Source and Magento Commerce Editions versions 2.2.4 through 2.4.3.

Since version 2.4.4 Klarna Payments are no longer being packaged and distributed with Adobe Commerce / Magento Open Source. With that, Klarna extension should be installed using Adobe Marketplace.

If you previously used bundled Klarna Payments or never used Klarna before - see Fresh installation section.

If you previously used Klarna Checkout - see Upgrade from Adobe Commerce 2.3.0 - 2.4.3(-p1, -p2, -p3) section

1. Go to Magento Marketplace and place an order for the module. You need to log in to your Magento Marketplace account and purchase the extension (for free).

2. Execute

BASH
php bin/magento maintenance:enable
composer require klarna/m2-klarna

You may have to enter your username and password. Get your Magento 2 authentication keys here. These credentials need to be from the account you purchased the m2-klarna extension with.

3. Execute

BASH
php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f && php bin/magento cache:clean
php bin/magento maintenance:disable

1. Go to Magento Marketplace and place an order for the module. You need to log in to your Magento Marketplace account and purchase the extension (for free).

2. Execute

BASH
php bin/magento maintenance:enable

3. If you used klarna/m2-checkout before, uninstall the old extension.

BASH
composer remove klarna/m2-checkout

4. Update as described by Magento.

5. Execute

BASH
composer require klarna/m2-klarna

You may have to enter your username and password. Get your Magento 2 authentication keys here. These credentials need to be from the account you purchased the m2-klarna extension with.

6. Execute

BASH
php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento setup:static-content:deploy -f && php bin/magento cache:clean
php bin/magento maintenance:disable