We’re using Klarna.Rest.Core.Model.CheckoutOptions.AdditionalCheckboxes
to display a checkbox in Klarna Checkout for the user to subscribe to our newsletter. However the value of the checkbox, checked or not checked, is always false/not checked when we read the value after the order has been placed.
We add the checkbox in KlarnaPaymentConfigV3.UpdateDataSentToKlarna()
and read the value in KlarnaPaymentConfigV3.ValidateCheckoutOrder()
.
What are we doing wrong?
Also, why is the type of CheckoutOptions.AdditionalCheckbox
AdditionalCheckbox
and the type of CheckoutOptions.AdditionalCheckboxes
AdditionalCheckboxV2
?
Litium version: 7.4.2