Klarna Checkout with Shipping Assistant, shipping cost

We have Klarna Checkout with KSS that fetches shipping methods from Consignor.
This works fine, but it seems there is an issue with updating the order in Litium. Since the grand total of the Klarna-order is higher than the grand total on the Litium-order.

It seems to be that the shipping cost is not updated on the Litium-order, because the shipping cost in BackOffice on that order is 0. (The price is in a json string on the key KSS though)

{"id":"option-79-0","name":"Schenker Norge - Stykkgods | 79","description":null,"promo":null,"price":65000,"tax_amount":0,"tax_rate":0,"preselected":false,"shipping_method":"Home","delivery_details":{"carrier":"schenker","class":"standard","product":{"name":null,"identifier":null},"pickup_location":null,"timeslot":null},"tms_reference":"XXXXXXXXXX"}

Litium version: 7.7.0

Have you implemented api/klarnacheckout/setShippingOption?
If you look in the code for installing the extension:
https://docs.litium.com/documentation/add-ons/payments/klarna/develop/klarna-shipping-service/install-kss

The UpdateShippingOption method should update your order with the price.

Another issue is, if you are testing it locally you need to use ngrok or something to allow Klarna to reach the endpoint.

1 Like

You’re right. I thought it was supposed to be more than just enabling KSS in the Klarna Config.
Thank you! It also requires HTTPS, but that’s solved by some self signed certificates.

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