Open davidrushton opened 4 years ago
@davidrushton it seems that this repo is "dead" so created a new package for this with some changes. omnipay-klarna
one of the features that you ask about has a separate method updateMerchantReferences
in my project.
@fred-jan @frankverhoeven @Feijs is the package still alive?
Hi there. Hope you're keeping safe!
I've recently launched a new website with Klarna integration using your package - thanks for the resource.
The issue i'm having is that our checkout / order process only sets the
merchant_reference1
once the Klarna checkout has been created and acknowledged. The code I'm using is:However, that is returning a Klarna error:
I believe it is because your data is always populated with amount, tax, currency, country, etc - https://github.com/MyOnlineStore/omnipay-klarna-checkout/blob/master/src/Message/UpdateTransactionRequest.php#L24. The body sent to Klarna for the above was:
Would a new Request type be the preferred approach for allowing only some fields to be sent to update an order, or would it be possible to update the existing TransactionRequest to handle?
Thanks, David,