Hello,
is there any way for me to activate B2B in Klarna Checkout V2 on a B2C site? According to documentation the following is available:
Features
- Klarna Checkout B2C and B2B.
However I’m not able to see any configuration point that allows me to activate like a company id/name field for Klarna checkout in Litium?
Litium version: 5.6.2
Klarna Checkout is delivered as an AddOn and to be able to use the B2B customers in the KCOv2 you need to update to the latest version. After the payment provider is upgraded you should be able to add the allowB2BCustomersInKco
attribute on the paymentAccount
node in the configuration file.
@patric.forsgard I cannot find this option in the KCOv3. How do we activate it there?
After you upgraded the KCOv3 to latest version (>= 4.7.103
) including the steps in the upgrade guides for Klarna you have the properties CheckoutOrder.Options.AllowedCustomerTypes
that you need to set in the `UpdateDataSentToKlarna´ that is connected to the payment provider.
Ah, I was missing the Klarna.Rest.Core 3.1.2. I was still on Klarna.Rest.
Thanks!
Hmm, this on gets called now but I still only get private person option. Do you have to activate it in Klarna maybe?
private void UpdateDataSentToKlarnaV3(OrderCarrier orderCarrier, KlarnaPaymentArgs paymentArgs, CheckoutOrder klarnaCheckoutOrder)
{
if (klarnaCheckoutOrder.CheckoutOptions == null)
{
klarnaCheckoutOrder.CheckoutOptions = new CheckoutOptions();
}
klarnaCheckoutOrder.CheckoutOptions.AllowedCustomerTypes = new List<string> {"person", "organization"};
}
Please, create a new topic with your question to not mix it up with this KcoV2 question.