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.
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;
We suggest you to migrate to In-App Checkout Native integrations if you were using native integration in the Checkout SDK.
If you were integrating Checkout SDK with your WebView, then we suggest you to integrate In-App Hybrid Integration
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:
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.
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.
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.
|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.|