Troubleshooting
“Test connection” fails
Section titled ““Test connection” fails”- 401: the username or password is wrong for the selected mode and region. Playground credentials work only in test mode, production credentials only in live mode, and both only in their region.
- Check for spaces before or after the username and password.
- The Log shows Klarna’s answer with its
error_codeandcorrelation_id(give the correlation id to Klarna support). - Your server must reach Klarna over HTTPS (outgoing port 443) with a current CA bundle.
Klarna is not shown at checkout
Section titled “Klarna is not shown at checkout”- The add-on is enabled, licensed and the connection is saved.
- The billing country is in the market list and the cart currency is that country’s currency (DE needs EUR, SE needs SEK, US needs USD …).
- The payment method uses the processor Klarna Payments (Kavio Labs) and is active for the storefront / customer group.
“Klarna offers no payment method for this order”
Section titled ““Klarna offers no payment method for this order””Klarna returned no payment option for the session: the country, currency or amount is not covered by your agreement, or the amount is outside Klarna’s limits. Check the agreement in the Klarna Merchant Portal.
Common Klarna errors
Section titled “Common Klarna errors”| Error | Meaning |
|---|---|
BAD_VALUE (400) |
A field of the order lines or the address breaks Klarna’s rules. The log shows which field. Contact us with the log line. |
| 409 on create order | The order changed after the payment session was created; the customer reloads the pay page and confirms again. |
| 404 on create order | The authorization expired (more than 60 minutes) or was already used. |
CAPTURE_NOT_ALLOWED |
The amount is more than what is still authorized, or the authorization expired. |
REFUND_NOT_ALLOWED |
The refund is more than what was captured and not refunded. |
NOT_ALLOWED on cancel |
The order has captures: release the rest instead, or refund. |
A request shows “Not confirmed”
Section titled “A request shows “Not confirmed””Klarna did not answer in time. The add-on repeats the same request with the same idempotency key (Klarna books it once) and reads the order back. New actions on that payment wait until it is settled. Check that the cron job runs.
Nothing happens after an order changes status
Section titled “Nothing happens after an order changes status”- Check the status settings and that the payment is authorized (not under review, stopped or cancelled).
- Open the Klarna tab: a refused action is shown there and in the log.
The cron address answers “Forbidden”
Section titled “The cron address answers “Forbidden””The key in the address is wrong. Copy the address again from the settings page.
Still stuck
Section titled “Still stuck”Contact us through https://cs-cart.kaviolabs.com with the add-on version, the CS-Cart version and the relevant log lines (the password is never in the log).