Klarna Docs - How to handle customer data
How to handle customer data

This article provides guidance on handling customer data in the Shopify Checkout. It explains which are the required fields to prevent errors with Klarna payments.

Klarna payments requires the customer’s name, phone, and email address to place most Klarna orders. If the customer's email address isn't shared with Klarna upon redirection from Shopify to the Klarna payment page, the customer will receive an error message from Klarna and will need to return to the Shopify checkout to enter their email.

To avoid this error, we recommend that you choose Email for the Customer contact method, which you can configure in the store's Shopify admin > Settings > Checkout and accounts > Customer contact method section. Read more about contact options in Shopify documentation.

You can set up a field for the customer to enter their phone number as a required field so that the customer’s phone number is also captured when you enable this setting.

Choose Email for the Customer contact method.

Choose Email for the Customer contact method.

Klarna requires both the first and last name of the customer, so verify that this option has been selected for the Customer information setting.

First and last name are required.

First and last name are required.

With the new Shopify payments app integration, Shopify doesn’t share the customer's shipping phone number with payment integrations. If a customer isn't logged into their Shopify account, Shopify will share either, but not both, the email or phone number, whichever the customer enters in the first Contact information field on the first page of Shopify checkout, as shown in the screenshot below. 

If the customer is logged into their Shopify account, Shopify will share both the email and the phone number. 

Since a Klarna session can’t be started without an email, we recommend that you configure email as required in checkout.

When email is required, the customer’s phone number may not be shared by Shopify, and Klarna will have to request, via a modal, for the customer to enter their phone number.

The Contact information field can be configured as Email required OR Email or mobile phone number.

The Contact information field can be configured as Email required or Email or mobile phone number.

Read more about customer data in Shopify documentation

In summary:

  • Klarna payments requires the customer’s name, phone, and email address to place orders.
  • To avoid errors during the payment process, ensure that the email, first name, and last name are set as required in the Shopify checkout.
  • Make sure the Customer contact method is set to Email so that the customer doesn’t need to return to Shopify checkout to enter their email manually.