# Custom shipping options in Klarna for Litium 8

**URL:** <https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848>\
**Category:** Questions\
**Tags:** accelerator, klarna, litium-8\
**Created:** [February 10, 2023, 8:47am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848 "2023-02-10T08:47:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [February 10, 2023, 8:47am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848/1 "2023-02-10T08:47:16Z")

</div>

How can I use custom shipping options in Klarna for Litium 8?

In Litium 7 it was possible with KlarnaPaymentConfigV3 =\> UpdateDataSentToKlarna =\> klarnaCheckoutOrder.ShippingOptions.

Is it possible to replicate that in Litium 8?  
The goal is to get this behaviour, and be able to toggle different alternatives depending on weight:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/34c3478335cc4ec3a811913c2196d6ac9ff305d9.png)

Litium version: 8.8

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [February 10, 2023, 9:34am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848/2 "2023-02-10T09:34:04Z")

</div>

I was able to figure it out. It was in the documentation 🤦‍♂️  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/3c4abd4a0df7c191c4177c76801df9f640d476d7.png)

But a follow up question.

Can I code some rules around this?  
For example:  
If the weight of products is under 2kg, use **Delivery 1**  
Else use **Delivery 2**

---

<div class="post-metadata">

**Author:** ![Spotonkastebo](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/spotonkastebo/32/717_2.png) [@Spotonkastebo](https://forum.litium.com/u/Spotonkastebo)\
**Post date:** [February 10, 2023, 9:46am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848/3 "2023-02-10T09:46:50Z")

</div>

Unfortunately the app goes around you back an ask litium directly for the methods connected to that channel. I can’t find where but i think @patric.forsgard hade a idea somewhere about perhaps it was possible to decorate the service that the klarna app talks to but haven’t tested since we just needed to stop litium from sending them at app to klarna and that was added to litium in the latest versions.

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [February 10, 2023, 9:54am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848/4 "2023-02-10T09:54:45Z")

</div>

Thanks Jonas! Hopefully Patric has some nice way of decorating it.

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [February 10, 2023, 9:59am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848/5 "2023-02-10T09:59:34Z")

</div>

It exists an interface that can be implemented that is invoking with the payment information that is sent to the payment app before the request happen, you find it in the `Litium.Connect.Abstractions` package and the name is `Litium.Connect.Payments.IPaymentIntrospection`, the interface is marked as experimental because the contract may change if we see that we need more parameters in the request.

---

<div class="post-metadata">

**Author:** ![Ericsj11](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/ericsj11/32/899_2.png) [@Ericsj11](https://forum.litium.com/u/Ericsj11)\
**Post date:** [February 10, 2023, 10:12am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848/6 "2023-02-10T10:12:04Z")

</div>

Thanks Patric! I was able to remove one of the options and place the order. So it looks promising.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [March 10, 2023, 10:12am UTC](https://forum.litium.com/t/custom-shipping-options-in-klarna-for-litium-8/2848/7 "2023-03-10T10:12:25Z")

</div>

Closed on March 10, 2023, 10:12am UTC

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