Skip to content

[Klarna] Error on non-domestic transactions for shoppers from supported countries #8718

Closed
@a-danae

Description

@a-danae

Describe the bug

When the shopper is from a country supported by Klarna and the transaction isn't a domestic one, the following error gets displayed:

Checkout error Stripe error
acct_1NsqFlFlHoxiQPiO / req_fKLp2r0WYVzA1A?t=1714078733

This error seems to be related to Klarna only accepting domestic transactions, with the exception of the EEA, UK, and Switzerland.

We already hide Klarna for unsupported customer countries, but we're not handling the domestic transaction restriction.

To Reproduce

  1. Connect your store to a Stripe account from a Klarna-supported country, like the US
  2. Enable Klarna
  3. As a shopper, add a product to your cart and proceed to checkout
  4. As the billing country, select one different from the one your Stripe account is from, like UK
  5. Place the order
  6. Notice error mentioned above is displayed and that the payment can't be completed

Actual behavior

The order can't be placed when using Klarna, even though it's displayed as an available payment method.

Expected behavior

As a shopper, I'd expect Klarna not to be displayed if it's not available. Or maybe to have a less generic error message.

Additional context

For reference, we're also seeing this behavior in the Stripe extension. woocommerce/woocommerce-gateway-stripe#3096

Metadata

Metadata

Assignees

Labels

focus: checkout paymentspriority: highThe issue/PR is high priority—it affects lots of customers substantially, but not critically.type: bugThe issue is a confirmed bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions