Klarna Payment Provider - Pay Later, Pay in 3, Pay Now | Klarna Payments Checkout
by Modvanta https://modvantaapps.tech/odoo-apps/payment-klarna/$ 29.91

Offer Klarna Pay later, Pay in 3 and Pay now in your Odoo shop
A direct Klarna integration with your own Klarna merchant credentials: the Klarna widget on the Odoo payment page, then the whole order life in standard Odoo screens - authorise, capture when the invoice is confirmed, refund from the credit note.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
The module adds Klarna as a payment provider on the standard Odoo payment framework and talks to Klarna's own Payments and Order Management APIs with the API credentials of your Klarna merchant account. Choose the region of your account - Europe, North America or Oceania - and Odoo uses the Klarna playground in test mode and production when enabled.
At checkout the customer picks Pay later, Pay in 3 or Pay now in the Klarna widget. The order is authorised at Klarna; with manual capture, Odoo captures when the invoice is confirmed (or when the delivery is validated, or by hand), and a credit note can be refunded with Klarna in one click. Every call is written to an API log.
These screenshots were taken on Odoo 19 with a German shop selling in EUR. The bench has no Klarna account, so a local stand-in answered the Klarna API in the shapes the module's tests use, and the widget content you see is that stand-in; on your shop Klarna's own widget appears in the same place.
Who it is for
European webshops Offer Klarna's pay later and instalment options at the Odoo checkout. | Shops that ship before charging Authorise at checkout and capture when the invoice is confirmed or the delivery is validated. | Accounting teams Refund with Klarna from the credit note and see captured and refunded amounts on every order. |
Key features
Every screen below is the module running on Odoo 19.
Feature 1
Klarna API credentials and region
Region of your Klarna account, API username and password, and Test Connection. Test mode uses the Klarna playground of that region.

Feature 2
Checkout, on-site messaging and capture options
Klarna widget or Klarna's hosted payment page, hosted page on phones, minimum order amount, B2B, product links and images, on-site messaging on the product page and in the cart, callback URL, API log retention, and the capture, cancel and refund rules.

Feature 3
Klarna widget at the checkout
The customer chooses Pay later, Pay in 3 or Pay now and confirms with Pay with Klarna. (On the bench a local stand-in fills the widget.)

Feature 4
Order confirmed
After Klarna approves the purchase the customer is back on the Odoo confirmation page.

Feature 5
Authorised Klarna order
Klarna status, order ID and reference, the Klarna payment method chosen, when the authorisation expires and the remaining authorised amount, with buttons to check the status, extend the authorisation and void.

Feature 6
Capture when the invoice is confirmed
Confirming the invoice captures its amount at Klarna; the chatter shows the capture and the posted payment, and the invoice is paid.

Feature 7
Refund with Klarna from the credit note
A posted credit note gets a Refund with Klarna button that opens the refund for the credit note amount.

Feature 8
Captured and refunded amounts
The Klarna order shows the captured and refunded amounts and the capture transaction.

Feature 9
Klarna payments overview
All Klarna orders with the payment method chosen, amount, captured and refunded at Klarna, Klarna status and authorisation expiry.

Feature 10
API log
Payment sessions, created orders, captures, refunds and status reads, with endpoint and HTTP status.

How it works, step by step
| 1 | Install and enter your credentials Choose your Klarna region, paste the playground API username and password and press Test Connection. |
| 2 | Choose the checkout Klarna widget on the payment page, or redirect to Klarna's hosted payment page. |
| 3 | Choose when to capture Tick Capture Amount Manually and capture when the invoice is confirmed, when the delivery is validated, or by hand. |
| 4 | Publish and sell Customers pay with Klarna; Odoo authorises, captures and refunds through Klarna's APIs. |
| 5 | Go live Switch to Enabled with your production credentials. |
Settings
All settings are on the Klarna payment provider.
| Credentials | Klarna region, API username, API password, Test Connection. |
| Checkout | Klarna widget or hosted payment page, hosted page on phones, minimum order amount, offer to companies (B2B), send product links and images. |
| On-site messaging | Client ID, message on the product page and in the cart, message style and theme. |
| Capture, cancel and refund | Capture when the delivery is validated, when the invoice is confirmed or by hand; cancel at Klarna with the sales order; extend authorisations; send tracking numbers; notify a user on failed payments. |
| Callbacks and logs | Callback URL, keep the API log for a number of days. |
Frequently asked questions
Do I need Stripe, Adyen or another gateway?
No. The module talks to Klarna's own APIs with the API credentials of your Klarna merchant account.
When is the customer charged?
Klarna authorises the purchase at checkout. With manual capture, Odoo captures when the invoice is confirmed, when the delivery is validated or when you capture by hand.
Can I refund from a credit note?
Yes. A posted credit note of a Klarna invoice shows Refund with Klarna, which refunds the credit note amount at Klarna.
Which Klarna options are offered?
Pay later, Pay in 3 and Pay now, as returned by Klarna for the purchase.
Can I test before going live?
Yes. In test mode the module uses the Klarna playground of your region with your playground credentials.
Compatibility
Odoo 19 Community and Enterprise | Payments Standard Odoo payment providers | Sales and Invoicing Capture on invoice, refund from credit note | Klarna Payments and Order Management APIs |
Start offering Klarna in Odoo
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, email support |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 3302 |
| Technical Name |
mdv_payment_klarna |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/payment-klarna/ |
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