[Klarna][Checkout v2] Why does an order API request for Denmark lead to the «not_accepted_purchase_country» response?

payment
klarna
klarna-checkout-v2
denmark

(Dmitry Fedyuk) #1

My request parameters:

{
    <...>
    "locale": "da-dk",
    "merchant": {
        "id": "7765",
        <...>
    },
    "purchase_country": "DK",
    "purchase_currency": "DKK",
    <...>
    "shipping_address": {
        "country": "DK",
        <...>
        "postal_code": "00100",
		<...>
    }
}

The Klarna’s server responds:

Response:
{
    "http_status_code": 403,
    "http_status_message": "Forbidden",
    "internal_message": "not_accepted_purchase_country"
}

Denmark is listed as a Klarna’s supported country.

It is also listed in my merchants account:

I use the version 2 of the Klarna’s checkout API


The Klarna Checkout API documentation for Denmark is broken
(Dmitry Fedyuk) #2

See also:


(Dmitry Fedyuk) #3

I have got an answer from the Klarna’s support:

Klarna Checkout is not available for Denmark.
We only support our regular invoice and part payments product.
The API responds with not_accepted_purchase_country because Denmark is not an accepted purchase country.