> 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.norrnext.com/klarna-payments-hpp-for-virtuemart/virtuemart-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
