Klarna Docs - Checkout SDK (Deprecating)

Checkout SDK (Deprecating)

The Checkout SDK allows to integrate Klarna Checkout in native or hybrid iOS and Android applications. It’s aimed to make integration simple and provide the smoothest in-app purchase experience.

Deprecation

We are slowly deprecating the Checkout SDK and replace it with our go-to mobile integration, In-App SDK. Klarna Checkout is already offered with In-App SDK(starting with version 2.4.0) and the related guides for migrating from Checkout SDK to the In-App SDK are available here;

Android Migration Guide

iOS Migration Guide

We suggest you to migrate to In-App Checkout Native integrations if you were using native integration in the Checkout SDK.

In-App Checkout Android

In-App Checkout iOS

If you were integrating Checkout SDK with your WebView, then we suggest you to integrate In-App Hybrid Integration

In-App Hybrid Android

In-App Hybrid iOS

If you are using a native mobile application, the Klarna’s checkout will work best if you add it via one of our mobile SDKs. The purpose of our mobile SDK is to act as a wrapper around an existing Klarna-implementation, and help you with the communication of events from Klarna.

There are two options for how to integrate Klarna Checkout in your mobile app: a Native approach and a Hybrid approach:

Native Integration

In the Native approach, your mobile app presents the Klarna Checkout view using our mobile SDK. You will need to fetch a Klarna Checkout HTML snippet from your web server, add the Klarna Checkout view to your app, and set the snippet on the view.

Step-by-step integration guide:
iOS / Native
Android / Native

Hybrid Integration

In the Hybrid approach, your mobile app displays the Klarna checkout as a WebView. Your back-end acts as a web server, rendering the Klarna Checkout on a web page that you host, presented in the WebView in your mobile app.

Step-by-step integration guide:
iOS / Hybrid
Android / Hybrid

Every Integration, Under One Library

We offer all our integrations under a single library for iOS and Android. This way, you only need to add a single artifact to your app to use any of Klarna’s offerings.

Minimum Requirements

iOSAndroid
The Checkout SDK supports iOS versions from 8.0 and upwards. To add the SDK to your project, you can use Cocoapods or add the SDK manually.On Android, the Checkout SDK supports Android versions 2.3 (API 14) and above. You can add the SDK as a Gradle dependency.
New Native