
| Availability | ● Community● Odoo Enterprise● Odoo.sh● On Premise |
| Author | Visiomate |
| Odoo Dependencies | payment |
| Category | Accounting / Payment Providers |
| Technical Name | klarna_payment_method_vm |
| Version | 19.0.1.0 |
| Website | www.visiomate.com |
| License | OPL-1 |
Overview

Key Features

How It Works

Configuration Guide
1 | Create a Klarna Playground (Sandbox) Account |
Go to js.playground.klarna.com/mjolnir/das-gui/playground/eu/index.html and sign up with your email. You will receive an activation email — click the link to access the Klarna Merchant Portal.
Note: If you are in a geo-restricted country, you may need a VPN with a UK or EU exit node to access the portal website. Once you have your API credentials saved, the VPN is no longer required — Klarna’s API endpoints are publicly accessible.
Note: If you are in a geo-restricted country, you may need a VPN with a UK or EU exit node to access the portal website. Once you have your API credentials saved, the VPN is no longer required — Klarna’s API endpoints are publicly accessible.

Klarna Playground — Sign-up for a European test account. Links are also available for US and AU test accounts.

Klarna Merchant Portal after activation — Portal Home showing the Playground environment banner, your store name, and day-to-day management tools.
2 | Generate Your API Credentials |
In the Merchant Portal, navigate to Settings → API Credentials and click Generate new Klarna API key. Copy and save both values securely before closing the page:
Important: The password is only shown once when generated. Store it safely immediately.
- API Username — a UUID identifier shown as the Key ID in the portal
- API Password — a long string starting with
klarna_test_api_...shown only once at generation
Important: The password is only shown once when generated. Store it safely immediately.

Settings → API Credentials — showing the generated key with Status: Active and Environment: TEST. Click "Generate new Klarna API key" to create your credentials.
3 | Install the Module and Configure the Provider in Odoo |
After installing from the Odoo App Store, go to Accounting → Configuration → Payment Providers (or Sales → Configuration → Payment Providers) and open Klarna. Fill in the Credentials tab:
- State —
Test Modefor sandbox testing,Enabledfor live production - API Username — paste the UUID Key ID from the Klarna portal
- API Password — paste the full password string generated in the previous step
- API Region — select Europe, North America, or Oceania to match your Klarna merchant account

Payment Providers → Klarna — Credentials tab showing Username, Password (masked), and Location fields. State options: Disabled, Enabled, Test Mode.
4 | Enable Klarna Payment Methods |
Go to Accounting → Configuration → Payment Methods and search for Klarna. You will see three methods available:
Also add the relevant Countries and Currencies for your market on the payment method form. For example, add United States and USD for a US-facing store, or United Kingdom and GBP for a UK store.
- Klarna – Pay Now — immediate payment via card or bank transfer (recommended, works for all merchants)
- Klarna – Pay over time — installment financing (requires a Klarna financing contract)
- Klarna — generic method, leave disabled for HPP-based integrations like this one
Also add the relevant Countries and Currencies for your market on the payment method form. For example, add United States and USD for a US-facing store, or United Kingdom and GBP for a UK store.

Payment Methods → Klarna - Pay Now — Configuration tab showing countries, currencies, Tokenization, Manual Capture (Full & Partial), and Refund settings. Toggle Active to enable.
5 | Test the Complete Payment Flow |
Add a product to cart, proceed to checkout, select Klarna – Pay Now, and click Pay now. You will be redirected to Klarna’s Hosted Payment Page. Use the following sandbox test credentials:
| Phone (North America account) | +14155552671 |
| Phone (Europe account) | +447777123456 |
| OTP Code | 123456 |

Klarna HPP — "Welcome to Klarna. Let’s verify your number." Enter the test phone number and click Continue to receive a one-time OTP.

Klarna HPP — "Confirm and pay" screen showing store name, payment method (Pay in full), test Visa card ending in 4242, order amount, and "Pay with Klarna" button.

Odoo Payment Status page — Green banner "Your payment has been processed." showing the order amount and reference number. The sale order is automatically confirmed.

Klarna Merchant Portal — Order Manager showing completed test orders with Klarna reference numbers, value in USD, and status: Uncaptured (awaiting fulfilment and capture).
Requirements

Frequently Asked Questions



facebook.com/visiomateofficial|instagram.com/visiomate_|linkedin.com/company/visiomate|github.com/visiomate
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 345 |
| Technical Name |
klarna_payment_method_vm |
| License | OPL-1 |
| Website | https://www.visiomate.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module