Get started with Klarna
Before you begin
If this is your first payent method, complete the Get Started guide to implement Universal Checkout with a test processor.
Connect Klarna to Primer
Add Klarna to your Dashboard
Go to the Connections section of the Dashboard and look for Klarna.
Follow the instructions to connect your Klarna processor account to your Primer Dashboard.
Activate Klarna on the Checkout
Go to the Checkout section of the Dashboard and activate the Klarna payment method.
Then go to the settings view of Klarna, and make sure that Klarna is properly set up to use your Klarna processor account.
Configure a Workflow to process payments made with Klarna
Go to the Workflow make sure your Klarna processor is used to process payments made with Klarna.
Prepare the client session
Klarna leverages the following parameters to process a payment.
Pass them when creating the client session.
|3-letter currency code in ISO 4217 format, e.g. |
|Details of the line items of the order|
The country code of the user.
Learn more about the supported countries and currencies by visiting Klarna Documentation.
Customer's email address. Pass this value to pre-fill the Klarna payment form.
Customer's mobile number (make sure it is the correct format for the country code). Pass this value to pre-fill the Klarna payment form.
Customer's shipping address. Pass this value to pre-fill the Klarna payment form.
Customer's billing address. Pass this value to pre-fill the Klarna payment form.
If Klarna is not supported for the given billing address, no Klarna button will be rendered in the checkout.