Hi @klarna,
Thanks for your answer!
I checked your referenced website ( https://demo.krokedil.se/klarnapayments/ ) and I see there is no shipping details requested at the last step of checkout. So this website will not run into my scenario where I use both billing and shipping fields.
My checkout form uses two separate fields for each section billing and shipping forms. So it has the following fields:
billling given_name ( mandatory )
billing family_name ( mandatory )
shipping given_name ( optional )
shipping family_name ( optional )
In case I submit the checkout form were shipping given_name value is different from billing given_name I run into the issue where Klarna API returns a message like:
Not matching fields: [shipping_address.given_name]
Might not be the plugin at fault but neither Klarna docs offer any insights in their documentation why I cannot use a different shipping given_name from billing given_name.
One common scenario is when I want to have a a billing invoice for me and ship bought product to a friend. I need to be able to use different given_names for billing and shipping.
There is no problem with other shipping fields being different from billing fields like postcode , city , country but only for given_name and family_name .
This is so weird and I would really appreciate any feedback from your side.
Thanks!