# VirtueMart configuration

### Payment Method Information

In this tab select Klarna Payments HPP as a `Payment Method`.

<figure><picture><source srcset="https://460400473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlEHDkNKf9nyiwBjZArxH%2Fuploads%2Fe3NSvAfUuUUwwd6CpSOb%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-08-16%20%D0%B2%2009.34.04.png?alt=media&#x26;token=0779b42e-2b2f-4eb3-8685-491bbda892e5" media="(prefers-color-scheme: dark)"><img src="https://460400473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlEHDkNKf9nyiwBjZArxH%2Fuploads%2FA8dimB9YPKSlJvbeweJO%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-08-16%20%D0%B2%2009.32.48.png?alt=media&#x26;token=5a1b8350-23ec-469a-a62a-a85853124598" alt="Klarna Payments HPP payment method - VirtueMart. Payment Method Information tab"></picture><figcaption><p>Klarna Payments HPP payment method - VirtueMart. Payment Method Information tab</p></figcaption></figure>

### Configuration

* **Sandbox Mode** — *Yes* / *No***.** If Sandbox Mode is enabled, no real money are transferred. Sandbox is used to test the payments.
* **Enable Debug** — *Yes* / *No*. We recommend activating debug mode when testing transactions or experiencing payment issues. This will log the information to a file in the Joomla logs path.

<figure><picture><source srcset="https://460400473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlEHDkNKf9nyiwBjZArxH%2Fuploads%2F5Ykzpw28gckSQHu11dce%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-08-16%20%D0%B2%2009.38.52.png?alt=media&#x26;token=5a80bd1a-38a0-4a70-a698-599d9cb00353" media="(prefers-color-scheme: dark)"><img src="https://460400473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlEHDkNKf9nyiwBjZArxH%2Fuploads%2FHyFdqheMTwX8B1Nim3hj%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-08-16%20%D0%B2%2009.38.31.png?alt=media&#x26;token=241ad8d3-33bd-4cf4-b1df-66bf21f1bcf1" alt="Klarna Payments hpp for VirtueMart. Payment method. Configuration tab. Order Statuses"></picture><figcaption><p>Configuration tab. Order Statuses</p></figcaption></figure>

#### Order Statuses

* **Payment Completed** — select the order status that will be applied based on successful payment transaction result. By default it is *Completed*.
* **Payment Failed** — select the order status that will be applied based on failed payment transaction result. By default it is *Failed*.
* **Payment Canceled** — select the order status that will be applied based on canceled status of payment or order. By default it is *Cancelled*.

#### Klarna Options

<figure><picture><source srcset="https://460400473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlEHDkNKf9nyiwBjZArxH%2Fuploads%2FX74iJWeKt5MsrmDUPGi2%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-08-16%20%D0%B2%2009.40.02.png?alt=media&#x26;token=6b2d427a-3bd1-4544-9544-f160ada627a1" media="(prefers-color-scheme: dark)"><img src="https://460400473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlEHDkNKf9nyiwBjZArxH%2Fuploads%2Fey5lMDGdBYMpyK7zLyoK%2F%D0%A1%D0%BD%D0%B8%D0%BC%D0%BE%D0%BA%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202025-08-16%20%D0%B2%2009.39.29.png?alt=media&#x26;token=eab0d307-df51-42c5-b54a-7f6fa50536b0" alt="Klarna Payments HPP for VirtueMart. payment method. Configuration tab. Unzer options"></picture><figcaption><p>Configuration tab. Klarna Payments HPP options</p></figcaption></figure>

{% hint style="success" %}
You can find options under Settings in your `Klarna Account Panel` > **Settings** > **Klarna API keys**. [See this article](https://docs.norrnext.com/klarna-payments-hpp-for-virtuemart/klarna-configuration).
{% endhint %}

* **Live API Username** — set your Live API Username
* **Live API Password** — set your Live API Password
* **Test API Username** — set your Test API Username
* **Test API Password** — set your Test API Password

{% hint style="info" %}
API keys are required fields to save the configuration.
{% endhint %}

* **Send Shipping Address** — available options: *Yes*, *No*. Send customer's shipping address.
* **Fee per Transaction** — a fixed surcharge for using Klarna as the payment method.
* **Fee as Percent of Total Amount** — a surcharge as a percent of the total amount for using Klarna as the payment method.
* **Tax** — surcharge tax to apply.
