You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
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:
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,
The text was updated successfully, but these errors were encountered:
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,
The text was updated successfully, but these errors were encountered: