Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johan Möller 83 posts 137 karma points
    Jun 19, 2017 @ 13:15
    Johan Möller
    0

    Klarna and B2B

    Hi!

    To turn on Business to Business in Klarna checkout I need to add an option to the implementation. I tried setting it in the default settings but I can't get it to work.

    The instructions are here: https://developers.klarna.com/en/se/kco-v2/checkout/use-cases#b2b

    I only need step 1a:

    "options": { "allowed_customer_types": ["person", “organization"] }
    

    How can I solve this?

  • Anders Burla 2560 posts 8256 karma points
    Jun 19, 2017 @ 13:32
    Anders Burla
    0

    In the ProcessRequest method about line 212 you need to add the setting that is in the Klarna documentation.

    It would be nice if you made it possible to have an optional property in the settings where it was possible to enable/disable B2B sale and then make a pull request :)

    https://github.com/TeaCommerce/Payment-providers/blob/master/Source/TeaCommerce.PaymentProviders/Inline/Klarna.cs

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies