jonwid
October 7, 2020, 2:10pm
1
Hi.
I’m trying to integrate the Accelerator with Klarna checkout and the Klarna Shipping Service addons.
I’ve successfully configured Klarna but after I added the KSS addon I get this error in the Klarna Widget.
I have Klarna configured to use Unifaun for logistics.
What does it mean and any idea why it’s happening?
Litium version: 7.4.2
Usually it’s Validation url or something simmilar that is messing with you
Hi!
We are using add-on for Klarna Checkout V3 with Litium 5 Accelerator Mvc and have a problem in checkout: “Det valda leveransalternativet är tyvärr inte tillgängligt.”
[image]
We have solved this in another project in Litium 7 with this change in KlarnaWidget.cs (according to Klarna uriString error )
#if !DEBUG
checkoutFlowInfo.SetValue(ConstantsAndKeys.ValidationUrlKey, validateUrl.AbsoluteUri);
checkoutFlowInfo.SetValue(ConstantsAndKeys.AddressUpdateUrlKey, update…
NilsN
October 7, 2020, 2:41pm
3
jonwid
October 8, 2020, 7:16am
4
Yes, I saw these posts but unfortunately the error persists even with those lines commented out in my local environment. Any other ideas?
checkoutFlowInfo.SetValue(ConstantsAndKeys.TermsUrlKey, termsAndConditionPageUrl);
checkoutFlowInfo.SetValue(ConstantsAndKeys.CheckoutUrlKey, checkoutPageUrl);
checkoutFlowInfo.SetValue(ConstantsAndKeys.ConfirmationUrlKey, confirmationUrl.AbsoluteUri);
checkoutFlowInfo.SetValue(ConstantsAndKeys.PushUrlKey, pushUrl.AbsoluteUri);
checkoutFlowInfo.SetValue(ConstantsAndKeys.ShippingOptionUpdateUrlKey, shippingOptionUpdateUrl.AbsoluteUri);
checkoutFlowInfo.SetValue(ConstantsAndKeys.DeliveryMethodIds, deliveryMethodIds);
#if !DEBUG
checkoutFlowInfo.SetValue(ConstantsAndKeys.ValidationUrlKey, validateUrl.AbsoluteUri);
checkoutFlowInfo.SetValue(ConstantsAndKeys.AddressUpdateUrlKey, updateAddressUrl.AbsoluteUri);
#endif
These lines are added when adding the KSS addon. Prior to that I had Klarna checkout running.
checkoutFlowInfo.SetValue(ConstantsAndKeys.ShippingOptionUpdateUrlKey, shippingOptionUpdateUrl.AbsoluteUri);
checkoutFlowInfo.SetValue(ConstantsAndKeys.DeliveryMethodIds, deliveryMethodIds);
I tried to comment out the ShippingOptionUpdateUrlKey but with same result.
Looking at the response from the call Klarna makes i see this in the json.
"errors": {
"generic": [
"shipping_service_failed"
]
},
system
Closed
November 5, 2020, 7:17am
5
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.