Klarna Checkout page uriString Error

I get the below error

Messages: Value cannot be null.

Parameter name: uriString

Exception: System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

   at System.Uri..ctor(String uriString)

   at Litium.AddOns.Klarna.PaymentArgs.KlarnaPaymentArgs.GetMerchantUrls(String paymentAccountId)

   at Litium.AddOns.Klarna.Kco.LitiumKcoApi.CreateOrUpdateKcoOrder(OrderCarrier orderCarrier, ExecutePaymentArgs args)

I have created a new channel, and setup a new klarna test account as payment provider.
The old payment provider works fine without any problem.

Please let me know what could be possible wrong with the new setup.
The url to new channel is accessible from internet.

Litium version: [7.4.1]

The URLs are set in KlarnaPaymentConfigV3 and it seems like some of the URLs are null. You should debug CreatePaymentArgs to see which ones. It could be because you’re trying to get the URL for page that is not yet published on your new channel.

2 Likes

All the values are set and the page is published and visible.

Only difference I could note was
First channel has the parameters set, which works fine.
https://qa.site.se/site.axd/KlarnaPaymentWidget/Confirmation?RedirectUrl=https://qa.site.se/sv/kassa&accountId=TEST_ACCOUNT_1_SE&transactionNumber={checkout.order.id}

but the new channel doesnt have the parameters set.
https://qa.site.eu/site.axd/KlarnaPaymentWidget/Confirmation?RedirectUrl=https://qa.site.eu/sv/kassa

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