Integrate Klarna Checkout

This tutorial helps you integrate Klarna Checkout on your website.

Klarna Checkout lets you

  • offer a checkout experience where Klarna takes care of collecting your consumer's billing and shipping address details, handles the major popular payment methods, and fraud management on your behalf all in one integration.
  • Integrate this using a JSON REST API and JavaScript, or other SDKs
  • Apply your visual guidelines to get a branded experience

 

Klarna Checkout is made up of two parts: the checkout page snippet and the confirmation page snippet. You will receive one snippet to show on your checkout page when you create the order, and one to show on your confirmation page when the customer has completed the purchase. Your pages just need to include a div that you will populate with the HTML snippet you receive from Klarna. 

 

Demo store

To quickly get started, you may first play around in our demo store at demo.klarna.com to get familiar with the user experience (it's seamless, and you can find Klarna Checkout to the right on the demo store's checkout). Tip: Open up the Console page to track the communication between the store and Klarna's servers while clicking around. It's a great way to quickly get familiar with the interactions you will implement later.

SDKs

You may integrate your system with Klarna Checkout using one of our SDKs. The examples in our integration guide are using our SDKs. Find out more on the SDK page. If you're looking for native mobile application support for iOS or Android, you should learn more here Mobile SDKs.

API Reference

You can also integrate directly with our REST APIs, documented here API Reference. The API is split in two parts: the checkout API for creating and managing the checkout, and the order management API for handling the post purchase process (capturing funds, order changes, refunds and more).

 


What's next?

Let's start implementing! Let's first look at a few things to prepare on your site.