Klarna Payments for PrestaShop

PrestaShop Module User Guide

Note: Klarna Payments for PrestaShop can be downloaded free of charge through PrestaShop add-ons (URL).

Install the module

  1. Start by navigating to the Modules: Modules & services tab in your back-office PrestaShop.
  2. From the Search function for your modules, type in and search for: Klarna Payments.
  3. At the result for Klarna Payments Official by Prestaworks, at the very right, hit the button called Install
  4. When the module has been installed, you will automatically be redirected to the module´s configuration page.
  5. The module is now installed!
×

NOTE!

You can also upload the .zip-file to your modules/ catalog via FTP and locate the module by searching for "klarnapayments" in the Modules tab.

Configure the module

Klarna Payments for PrestaShop contains settings to configure

This integration configuration page contains 4 tabs with different information and settings.

Tab Description
GENERAL This tab contains the general settings in order to run this module in your store. You choose live/test mode, API endpoint, type of merchant and enter your Klarna API credentials
DESIGN This tab contains options to configure the design of the Klarna Payments module
ORDER MANAGEMENT This tab contains settings for statuses that will capture or refund the order through the Klarna API
OTHER This tab contains settings for the module such as how to display the payment category and choose which order data to send to Klarna

Configure your store for Klarna Payments

Below is an example of how to configure the store for Klarna Payments only below.

  1. Start by navigating to the module configuration page, and choose the tab called GENERAL
  2. NOTE! Configure the "Live mode" switch to control whether you are running in Test or “Live” mode. This determines if calls are being made to the Klarna test or production systems. This is the only place to control Test or Live for Klarna Payments.
  3. Then you need to select the API endpoint where you want to use this module (Europe or North America)
  4. Choose your merchant type: B2C/B2B
  5. Enter your Klarna API credentials and press "Save" in order to see if you entered everything correctly. If you don’t yet have Klarna API credentials, you can request them from: https://eu.portal.klarna.com/signup/?products=kp&platform=prestashop (for production credentials) or https://playground.eu.portal.klarna.com/developer-sign-up (for playground credentials)
  6. You're done, great job!

Configure order management calls (capture and cancel)

It is possible to work with order management calls to Klarna to capture and refund orders. Navigate to the integration configuration page and go to tab "ORDER MANAGEMENT":

Only full capture and full refunds (or full cancel if the order was not previously captures) are currently supported. Other order management functions performed within PrestaShop backoffice will not update Klarna.

Setting Description
Capture order status In this drop-down you simply choose which order status you would like to trigger the call to Klarna for capturing the orderat Klarna. If you would like to disable this feature you will have to set the switch to: "No".
Refund order status In this drop-down you simply choose which order status you would like to trigger the call to Klarna for refunding or cancel an order at Klarna. If you would like to disable this feature you will have to set the switch to: "No".
Klarna Merchant Reference 1 You have the option to choose which type of order value to be included in the Klarna orders merchant_reference1 field. It is possible to use the order reference or the order id.

Pending statuses

If an order gets the status "pending" it will automatically change its order status when Klarna has completed their fraud status check and sent a fraud pending notification to your store.

Klarna capture error order status

This module also contains an order status called Klarna capture error which represents the error response from Klarna when someone is trying to capture a refunded order.

Open Changelog