Skip to content

Installation and setup

  • CS-Cart, CS-Cart Ultimate, Multi-Vendor or Multi-Vendor Ultimate 4.17.2 or later.
  • Administrator access to the store’s admin panel.
  • A Klarna merchant agreement for Klarna Payments. For testing, a Klarna playground account (free, created on Klarna’s developer site) gives you playground API credentials.
  • API credentials (username and password) from the Klarna Merchant Portal: Settings > Klarna API keys (playground portal for test credentials, production portal for live ones). Klarna issues credentials per region (Europe, North America, Oceania) and per environment.
  • A cron job on your server (see step 7).
  1. Download the kv_klarna_payments-<version>.zip package from your Kavio Labs or CS-Cart Marketplace account.
  2. In the admin panel, open Add-ons > Manage add-ons.
  3. Click the gear button and choose Manual installation, then upload the archive.
  4. Find Klarna Payments in the list and make sure its status is Active.
  5. Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
  1. Open Orders > Klarna payments and the Connection tab.
  2. Choose Test mode, the Klarna region of your credentials and enter the playground API username and password. Click Save and test: Klarna is asked to open a one-line test session; a green message means the credentials work.
  3. When you have production credentials, enter them under Production (live) credentials, switch the mode to Live and test again.
  4. Open Administration > Payment methods, add a method, choose the processor Klarna Payments (Kavio Labs), name it neutrally (for example “Klarna”) and activate it.
  5. Open the add-on settings and choose the order statuses (see Configuration). The defaults: authorized = Processed, under review = Open, capture on Complete, cancel on Canceled.
  6. Check Markets: by default the method is offered for every market of your Klarna region, only when the billing country is one of them and the cart currency is that country’s currency. List only the countries of your Klarna agreement if it covers fewer.
  7. Add the cron job from the settings page (Cron section), every 5 to 15 minutes. Overlapping runs are prevented.

No webhook needs to be set up: each Klarna session carries its own notification address for orders that Klarna reviews.

Klarna Payments is contracted by one merchant: the marketplace owner connects the Klarna account and is the merchant towards Klarna. Klarna does not split payouts to vendors. Vendors see the Klarna tab of their orders read only; when a vendor moves an order to the capture status, the vendor order’s share is captured. Refunds and cancellations are made by the marketplace owner.

  1. Upload the new package the same way. Your settings, credentials and payments are kept.
  2. The add-on adds missing tables and settings by itself on the first request after the update.

See CHANGELOG for what changed in each version.

Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. By default the uninstall keeps the Klarna payment records (payments, captures, refunds, cancellations) and the connection: they link your orders to their Klarna orders, so after a reinstall older orders can still be captured, refunded or cancelled from the order page. To remove them for good, switch on Delete payment records on uninstall in the settings first; the links between your orders and their Klarna orders are then lost (capture or cancel open Klarna orders before). Settings, language variables, the log and the job queue are always removed.