Klarna Docs - Matching data fields across the Shopify and Klarna order

Matching data fields across the Shopify and Klarna order

This article provides information about the matches of the data fields between Shopify and Klarna orders.

When the order is placed in Shopify, a payment ID is set in the Shopify admin’s order Timeline information under the "...payment was processed on Klarna." section, within the Information from the gateway subsection. This payment ID is added to the Klarna order's merchant_reference1 and merchant_reference2 fields.

Shopify payment ID is available in Shopify store admin.

Shopify payment ID is available in Shopify store admin.

As covered in this Shopify community discussion, Shopify doesn’t share the Shopify order id for this payments app integration for Klarna to be able to associate the Shopify order id or order name with the Klarna order. Additionally, Shopify no longer allows new payments app integrations to set the authorization field on the Shopify order.

You can view the Shopify payment id in the merchant_reference_1 field for the order in the Klarna merchant portal Orders.

As a way to mitigate this issue, we’ve added additional features to our On-Site messaging app via the Extended Access features. One of these features allows for the merchant_reference_1 field to be updated with the Shopify order name shortly after the order has been placed.
Read more about the Extended Access features in our Shopify On-Site messaging documentation.

Without Extended Access, Shopify payment ID is available in the merchant_reference_1 field in the order in the Klarna merchant portal, as the following image shows.

Without Extended Access, the Reference field is populated with the Shopify payment ID.

Without Extended Access, the Reference field is populated with the Shopify payment ID.

With Extended Access, the merchant_reference_1 field is updated with the Shopify order name, as the following image shows.

With Extended Access, the Reference field is populated with the Shopify order name.

With Extended Access, the Reference field is populated with the Shopify order name.

Learn more about the API access in this Shopify help center article.

If your store is using Shopify Plus, you can find Klarna orders by running a custom report for orders by payment type, under Analytics > Reports > Create custom report. For more information about how to run reports, see the Shopify help center article.

Create a report in the Shopify help center.

Create a report in the Shopify help center.

In summary:

  • When an order is placed in Shopify, a payment ID is set in the Shopify admin's order timeline.
  • This payment ID is added to the Klarna order's merchant_reference1 and merchant_reference2 fields.
  • Without Extended Access, Shopify payment ID is available in the merchant_reference_1 field in the order in the Klarna merchant portal.
  • With Extended Access, the merchant_reference_1 field is updated with the Shopify order name.
  • Shopify doesn’t share the Shopify order to be associated with the Klarna order.