# Klarna Checkout payment method missing

**URL:** <https://forum.litium.com/t/klarna-checkout-payment-method-missing/582>\
**Category:** Questions\
**Tags:** payment, litium-7\
**Created:** [February 11, 2019, 3:53pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582 "2019-02-11T15:53:41Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![hans](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/hans/32/31_2.png) [@hans](https://forum.litium.com/u/hans)\
**Post date:** [February 11, 2019, 3:53pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/1 "2019-02-11T15:53:41Z")

</div>

Klarna Checkout (v2) is not available as a payment method in our upgraded solution. We’ve tried reinstalling (following the instructions at [https://docs.litium.com/documentation/add-ons/payments/klarna](https://docs.litium.com/documentation/add-ons/payments/klarna)), but to no avail. The list of payment methods in the settings only display the various “DirectPay” methods.  
Any ideas on what’s wrong?

Litium version: 7.1.0

---

<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 11, 2019, 4:10pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/2 "2019-02-11T16:10:35Z")

</div>

Most probably you are missing an binding redirect in web.config.

Can also recommend to go over and use the Klarna Checkout v3 instead of the older v2. The accelerator 7 is only pre-configured to work with v3.

---

<div class="post-metadata">

**Author:** ![hans](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/hans/32/31_2.png) [@hans](https://forum.litium.com/u/hans)\
**Post date:** [February 11, 2019, 4:27pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/3 "2019-02-11T16:27:13Z")

</div>

What binding redirect(s) would that be? Litium.Studio.AddOns.Klarna.dll and  
Litium.Studio.AddOns.Klarna.UI.dll? Doesn’t seem to change anything.

---

<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 11, 2019, 4:29pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/4 "2019-02-11T16:29:55Z")

</div>

Hard to say without know what you have there… Visual Studio is also suggest missing binding redirects during build.

---

<div class="post-metadata">

**Author:** ![hans](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/hans/32/31_2.png) [@hans](https://forum.litium.com/u/hans)\
**Post date:** [February 11, 2019, 4:37pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/5 "2019-02-11T16:37:23Z")

</div>

Yeah, no warnings during build. And nothing in the log as far I can see. The dll files (Litium.Studio.AddOns.Klarna.dll and  
Litium.Studio.AddOns.Klarna.UI.dll) and the config file (Litium.Studio.AddOns.Klarna.dll.config) are in the bin folder. Not sure what’s going on.

---

<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 11, 2019, 4:57pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/6 "2019-02-11T16:57:45Z")

</div>

And you don’t have the build warning as in the section for binding redirects on [https://docs.litium.com/documentation/upgrading-to-litium-7](https://docs.litium.com/documentation/upgrading-to-litium-7) ?

Can you post the binding redirects that you have the web.config?

What version number are you using for the Klarna addon?

---

<div class="post-metadata">

**Author:** ![hans](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/hans/32/31_2.png) [@hans](https://forum.litium.com/u/hans)\
**Post date:** [February 12, 2019, 10:10am UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/7 "2019-02-12T10:10:22Z")

</div>

So, it looks like we had another project in our solution that messes things up. After fixing the binding redirects in that project’s app.config it’s working. Thanks Patric!

---

<div class="post-metadata">

**Author:** ![hans](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/hans/32/31_2.png) [@hans](https://forum.litium.com/u/hans)\
**Post date:** [February 12, 2019, 11:59am UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/8 "2019-02-12T11:59:27Z")

</div>

A follow-up question since as you say that “accelerator 7 is only pre-configured to work with v3”: What would we have to change if we wanted to stay on version 2 for now?

---

<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 12, 2019, 1:13pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/9 "2019-02-12T13:13:14Z")

</div>

I know that we have the `KlarnaPaymentWidgetConfig` class that have some configurations and I think we will have some parts in `KlarnaPaymentController` and in `KlarnaWidget` that need to be updated to support V2 instead of V3.

What’s the time-frame you need to have this ready?

---

<div class="post-metadata">

**Author:** ![hans](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/hans/32/31_2.png) [@hans](https://forum.litium.com/u/hans)\
**Post date:** [February 12, 2019, 2:38pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/10 "2019-02-12T14:38:26Z")

</div>

> [@patric.forsgard](#):
>
> What’s the time-frame you need to have this ready?

As soon as possible 😉 We’re aiming for a release sometime in March.

---

<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 18, 2019, 1:20pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/11 "2019-02-18T13:20:41Z")

</div>

You can download the changed files from: [https://www.dropbox.com/s/u8vhdkvcopw85d7/KlarnaCheckoutV2\_Litium\_Acceelerator\_7.zip?dl=0](https://www.dropbox.com/s/u8vhdkvcopw85d7/KlarnaCheckoutV2_Litium_Acceelerator_7.zip?dl=0)

Removed files

- /Src/Litium.Accelerator/Payments/Widgets/IKlarnaPaymentConfig.cs
- /Src/Litium.Accelerator/Payments/Widgets/IPaymentWidget.cs
- /Src/Litium.Accelerator/Payments/Widgets/KlarnaWidget.cs
- /Src/Litium.Accelerator.Mvc/App\_Start/KlarnaPaymentWidgetConfig.cs

Uninstall the following nuget packages from `Litium.Accelerator`

- Litium.AddOns.Klarna
- Klarna.Checkout
- Klarna.Rest

Install the following nuget packages into `Litium.Accelerator.Mvc`

- Litium.Studio.AddOns.Klarna.UI

---

<div class="post-metadata">

**Author:** ![Robin.w](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/robin.w/32/75_2.png) [@Robin.w](https://forum.litium.com/u/Robin.w)\
**Post date:** [February 19, 2019, 7:32pm UTC](https://forum.litium.com/t/klarna-checkout-payment-method-missing/582/12 "2019-02-19T19:32:42Z")

</div>

I have applyed the patch and installed/uninstalld the nugets , Do we need to add or change a setting somewhere also?

The api still return null, for the paymentWidget

Where paymentProvider== “Klarna” the result is null 😕

```auto
 public override IPaymentWidget GetPaymentWidget(string paymentProvider)
        {
            return paymentProvider == null
                ? null
                : IoC.Resolve(typeof(IPaymentWidget<>).MakeGenericType(IoC.ResolvePlugin<IPaymentProvider>(paymentProvider).GetType())) as IPaymentWidget;
        }

```

And my breakpoints in the KlarnaWidgetV2 and KlarnaWidgetV3 constructor is never activated, so KlarnaPaymentController never seam to get called, where is this supposed to take place?
