Klarna Add-On v3 configuration for multi-channel multi-country sites

We have a single-website, single-language, single-country, single-channel site with Klarna Checkout.

We are expanding to a single-website, multi-language, multi-country, multi-channel site like this:

  • www.shop.se - its own channel in Litium, country = Sweden, language = sv-SE, same website, its own domain name
  • www.shop.dk - its own channel in Litium, country = Denmark, language = da-DK, same website, its own domain name

Klarna has told us that we should use the same merchant (and same merchant ID) for all countries. All countries and currencies are enabled on the klarna merchant.

  1. We’re not sure how to configure Klarna Add-On v3 (i.e., Litium.AddOns.Klarna.dll.config) to support the intended setup:

     <paymentAccounts>
     	<paymentAccount paymentAccIdentifier="SE"
     					merchantId="K12345"
     					salesCountry="SE">
     	</paymentAccount>
     	<!-- More paymentAccounts here? And how should they be configured? -->
     </paymentAccounts>
    

Should we add one <paymentAccount> per channel=country=language=domain? And if so, what should the payment account identifier and sales country be? (What is the payment account identifier even used for?)

  1. We’re also not sure if anything needs to be done to the payment method configuration in Litium. Currrently we have only a single payment method “Klarna Checkout v3”. It has a display name in all languages.

  2. Is there anything else we need to do to make this work?

Litium version: 7 + accelerator

It is pretty straight forward since you have two separate domain that will service one country each.
In the case where you serve multiple countries on same channel or just use language prefix in the url to separate the channel you have to make changes in the accelerator code to make it work.

From experience the best is to generate two different merchant keys in klarna admin and have a config for each. then you are limited to have same settings regarding for both channels and it can make debugging later easier since you can identify country and configuration from the ids in the log.

Since they will be displayed as different paymentmethods in litium you need to add translations to each.

don’t know recommended setting for salescountry i just guessed below but in litium 8 app we use region Europe

<paymentAccounts>
 	<paymentAccount paymentAccIdentifier="KLARNA_PROD_SE"
 					merchantId="K12345_19818109819081098"
 					salesCountry="SE">
 	</paymentAccount>
 	<!-- More paymentAccounts here? And how should they be configured? -->
 </paymentAccounts>
<paymentAccounts>
 	<paymentAccount paymentAccIdentifier="KLARNA_PROD_DK"
 					merchantId="K12345_19818109819081098"
 					salesCountry="DK">
 	</paymentAccount>
 	<!-- More paymentAccounts here? And how should they be configured? -->
 </paymentAccounts>
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.