Klarna Module
Take payments through Klarna, where the client chooses to pay now, pay later or pay in instalments on Klarna's own page.
Reaching the Screen
Go to Settings → Financial → Payment Gateways, open All Modules and click the Klarna card: {admin}/modules/payment?module=Klarna
Tick Status and save to list the method on the payment step. Use Payment Gateways to order the methods clients see.
What Is on the Screen
The card holds your Klarna credentials, three behaviour settings and the shared gateway settings.
The client sees a short panel inside checkout and opens Klarna's hosted page from there, so payment details never reach your site. Which options Klarna offers depends on the client's country and the order.
Klarna can keep a payment method for later renewals and charge it without the client. Provider subscriptions, installments managed by WISECP and an on-site card form are not supported.
Before You Configure It
- A Klarna account with the Merchant portal, and an administrator user who can create API credentials.
- A separate playground account for testing. Playground and production credentials are never the same.
- The region your credentials were issued for: Europe, North America or Oceania.
- A currency and country Klarna serves. Fill in Converting Currency when your prices are in another one.
Fields
Commission, converting currency, accepted amount range and country lists behave the same on every gateway; see Payment Gateways. Callback URL, Success URL and Failed URL cannot be edited. Klarna receives these addresses with each payment, so you register nothing in your Merchant portal.
Tasks
Connect your Klarna account
- In the Merchant portal open Payment settings → Klarna API Keys → Generate new Klarna API key. Download the credentials text file.
- Open the Klarna card under All Modules and tick Status.
- Enter the file's Key ID in API Username (UID) and Secret in API Password. Pick API Region and leave Playground (test) mode ticked.
- Click Save Changes. The method now appears on the payment step.
Run a test payment
- Place a small order as a client and choose Klarna on the payment step.
- Click Continue to Klarna and complete the payment with Klarna's test data.
- You return to the site. The invoice is marked as paid and the order is activated.
Switch to live
- Create a credential in your production Merchant portal.
- Replace API Username (UID) and API Password with the production pair and check the region.
- Untick Playground (test) mode and click Save Changes. Repeat the test with a real low-value payment.
Capture an authorised payment
- Leave Capture immediately off. Klarna then only blocks the money and the invoice stays open.
- Open the invoice from Invoice Detail and click Capture payment at the top.
- Confirm with Capture. Klarna takes the money, the payment is recorded and the invoice closes.
Offer a saved payment method
- Tick Offer saved payment method and save.
- The client ticks Save this payment method for future renewals on the payment panel and approves it on Klarna's page.
- Renewal invoices are then collected from the saved method without the client.
Refund a payment
- Open the invoice from Invoice Detail.
- Under Summary → Change Status, select Refunded and Refund via payment gateway. Click Update Status.
- Klarna returns the amount that was captured for this invoice.
Things to Watch
With Capture immediately off, the client's funds are only blocked and the invoice waits. Nothing captures it for you. A Klarna authorisation also expires, and after that there is nothing left to capture.
Test payments mark invoices as paid and activate orders, but no money moves. Swap in the production credential and untick Playground (test) mode together: a playground pair is refused in production, and so is the wrong region.
Turning off Offer saved payment method hides the saving option for new payments. Previously saved methods remain. A new method is saved only when the client selects the option and approves it at Klarna.
Required Privileges
Payment Module Settings (MODULES_PAYMENT_SETTINGS) is required for the settings. Capturing or refunding an invoice payment needs Billing → Edit (INVOICES_OPERATION).
Related Articles
Merci pour votre retour !
Notre équipe d'assistance est disponible 24h/24 pour tout ce que vous ne trouvez pas ci-dessus.