> For the complete documentation index, see [llms.txt](https://docs.norrnext.com/klarna-payments-hpp-for-phoca-cart/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-phoca-cart/phoca-cart-configuration.md).

# Phoca Cart configuration

### Payment Method Information

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

<figure><picture><source srcset="/files/ZavJVXS0dm0qQeFcuj3c" media="(prefers-color-scheme: dark)"><img src="/files/Rv6BFsp1cvwbwrVK0gfP" alt="Klarna HPP payment method for Phoca Cart. General options"></picture><figcaption><p>Klarna Payments HPP payment method - Phoca Cart. General Options tab</p></figcaption></figure>

* **Calculation Type** — Set calculation type. Available options: *Fixed Amount* / *Percentage*.
* **Cost** — Set shipping cost.
* **Additional Costs** — Set additional costs for payment method. This is a fixed amount added to the cost of the payment method.

### Configuration

* **Sandbox Mode** — *Yes* / *No***.** Sandbox is enabled, no real money will be transferred.

<figure><picture><source srcset="/files/XjLgIkWrdVPofbZZItY6" media="(prefers-color-scheme: dark)"><img src="/files/VOnzC6sgP8GSQrnF6XQP" alt="Klarna Payments HPP for Phoca Cart. Payment method Options 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 *Cancelled*.&#x20;

{% hint style="info" %}
Phoca Cart comes with **'Failed'** status which is disabled by default.  To enable it, please go to `Phoca Cart > Order Statuses` and  enable Failed status. If there is no such status, you can create it.
{% endhint %}

<figure><picture><source srcset="/files/FfJ4MMpiLFBMPvz61Aqj" media="(prefers-color-scheme: dark)"><img src="/files/YE5HlmNopEPI3FCRdeWR" alt="Phoca Cart. Payment Failed status in Order statuses "></picture><figcaption></figcaption></figure>

* **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/kLh3G8P0GtfhFDr73TOF" media="(prefers-color-scheme: dark)"><img src="/files/ioGmu0H3yFulTbaVMtnh" alt="Klarna Payments HPP for Phoca Cart. Payment method options tab. Klarna 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-phoca-cart/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.
