I always get false on Klarnas additional checkbox, both locally and on the test environment. Is this a known issue or what can be wrong?
I am reading the value in this event:
_eventBroker.Subscribe<SalesOrderConfirmed>(x => SendOrder(x.Item));
The uploaded config looks like this:
{
"Klarna": {
"PaymentAccounts": [
{
"PaymentAccountId": "NO",
"MerchantId": "Id",
"SharedSecret": "Secret",
"Environment": "Test",
"Region": "Europe",
"PaymentOptions": [ "Checkout" ],
"ShowVATRegistrationNumberField": true,
"UISettings": {
"ColorButton": "#000000",
"ColorButtonText": "#FFFFFF",
"ColorCheckbox": "#000000",
"ColorCheckboxCheckMark": "#FFFFFF",
"ColorHeader": "#000000",
"ColorLink": "#000000",
"AdditionalCheckboxes": [
{
"Id": "newsletter_opt_in",
"Checked": false,
"Required": false,
"Text": {
"en-US": "I would like to receive newsletters by e-mail",
"sv-SE": "Jag skulle vilja få nyhetsbrev via e-post",
"*": "Jeg ønsker å motta nyhetsbrew på e-post"
}
}
]
}
}
]
}
}
Klarna version: 1.6
Litium version: 8.8