Developer forum

Forum » Ecommerce - Standard features » Klarna invoice and part payment

Klarna invoice and part payment

Claus Ørum-Petersen
Reply

Hi,

 

Was wondering if the checkoutout provider has support for the pay now functionality of Klarna payments, although it seems like it runs on the legacy api but quite unsure since documentation here is scarce.

This code fx. is not under the documentation ?

@If Defined(Klarna.PartPaymentsExists)
Regards Claus

Replies

 
Nicolai Pedersen
Reply

Hi Claus

We have both the old and the new version of Klarna, actually 3 different versions - see the complete list here: https://doc.dynamicweb.com/documentation-9/ecommerce/payment-shipping/checkout-handlers

Also many of the other gateways support Klarna - i.e. Quickpay, Dibs etc. (The pay later/invoice - and Pay now, aka Sofort in other countries than DK).

PartPaymentsExists tag is part of the invoice implementation - which is the feature of pay later using financing (AKA make poor people even more poor).

 

 
Claus Ørum-Petersen
Reply

Hi Nicolai,

 

Thank you for the quick answer smiley

Yes exactly, so the old version of Klarna payments (not Klarna checkout) is the reason I'm asking, because i don't see the pay now for this version of Klarna in DW https://developers.klarna.com/documentation/klarna-payments/.

I imagine it requires a new checkout handler written for the payments api and corresponding templates for e.i widget display if pay now is to be supported ?

 
Nicolai Pedersen
 
Claus Ørum-Petersen
Reply

Because our customer has agreement on Klarna Payments and the api's differ :)

Unless DW's checkout handler kan handle Klarna payment acounts with checkout v3.

 
Nicolai Pedersen
Reply

Going in circles...

https://doc.dynamicweb.com/documentation-9/ecommerce/payment-shipping/checkout-handlers/klarna-checkout-v3 is v3. Hence the name...

 
Nicolai Pedersen
Reply

Did we sort this one out?

 
Morten
Reply

@Nicolai: What about support in Dynamicweb?

"Also many of the other gateways support Klarna - i.e. Quickpay, Dibs etc."

According to DW support its not possible to use the Quickpay-gateway with Klarna.

From https://learn.quickpay.net/tech-talk/appendixes/acquirer-details/#acquirer-details:

  • Payment must contain full customer invoice address and/or shipping address.
  • Payment must contain basket.
  • shipping[amount] must contain shipping costs for the order
  • Customer country and currency must match.
  • vat_rate must be a part of the refund request.

Its not possible to add/include "full customer invoice address and/or shipping address", right? 

 
Nicolai Pedersen
Reply

Well, I believe it is possible... Quickpay just released an updated integration using Klarnas new APIs.

https://quickpay.net/payment-methods

https://learn.quickpay.net/helpdesk/da/articles/klarna-migrering/
https://www.klarna.com/international/business/migration-faq/

You have to change what is posted to Quickpay - you can do that by using your own post template - see dump.

Using the required fields from Quickpay: https://learn.quickpay.net/tech-talk/payments/form/#quickpay-form

BR Nicolai

 

Capture.JPG
 
Morten
Reply

Well - I'm using my own post template, and have added the missing required fields:

  • full customer invoice address
  • basket
  • shipping
  • customer country and currency

One of the required values is the checksum: "All request data must be included in the checksum calculation" (from Quickpay).

So, I'll need to calculate a new checksum with all my form data and not just add the required/missing fields.

 
Viktor Letavin Dynamicweb Employee
Viktor Letavin
Reply

Hi Morten,

If you need some example of how to calculate the checksum, you can see it on quickpay portal https://learn.quickpay.net/tech-talk/payments/form/#examples

but please pay attention to notice "Note: The checksum is calculated only from QuickPay specific parameters. If you for some reason submit other parameters, those will not be part of the checksum."

BR, Viktor.

 
Morten
Reply
This post has been marked as an answer

@Victor - got it up and running yesterday :)

Now I'm waiting for Quickpay to correct some smaller bugs.

Votes for this answer: 1

 

You must be logged in to post in the forum