> For the complete documentation index, see [llms.txt](https://docs.norrnext.com/klarna-payments-hpp-for-virtuemart/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.norrnext.com/klarna-payments-hpp-for-virtuemart/virtuemart-configuration.md).

# VirtueMart configuration

### Payment Method Information

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

<figure><picture><source srcset="/files/1OyxsVwbOScolTTT3lvn" media="(prefers-color-scheme: dark)"><img src="/files/56Hbi3O0qYSgxI5DxKc2" 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="/files/Vi7CsXMX54dnABHz36g6" media="(prefers-color-scheme: dark)"><img src="/files/8U4LxREpIP8tcy4L3UAH" 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="/files/YF9yQyb8GUtS8YayPVvc" media="(prefers-color-scheme: dark)"><img src="/files/IqJCDHaig0Tlm6tMlumi" 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](/klarna-payments-hpp-for-virtuemart/klarna-configuration.md).
{% 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.
