#michaelfrost3779

1 messages · Page 1 of 1 (latest)

silver ginkgoBOT
sturdy sedge
#

Hello, I'm getting this error when I'm in the Klarna flow redirect.

#

This is a screenshot

tidal cargo
#

How are you integrating Klarna ?

sturdy sedge
#

I'm creating a PI like this: const paymentIntent = await this.stripe.paymentIntents.create({ amount, currency: 'eur', automatic_payment_methods: { enabled: true }, metadata: { order_ref: ref }, })

tidal cargo
#

Can you share the PaymentIntent id ?

sturdy sedge
#

Yes, of course. Please give me one moment.

tidal cargo
sturdy sedge
#

pi_3OhXGoEI4nxwUjY413JsH9G5

#

It happens when I select any other country then Austria here.

#

In this case I can't eaven thest any credentials because I get the message from Klarna before.

tidal cargo
#

The PaymentIntent status is in requires_action

#

So the payment need to be completed on Klarna Side

sturdy sedge
#

That makes sense.

tidal cargo
sturdy sedge
#

No, I don't get that far on the Klarna redirect page.

tidal cargo
#

Did you try to reach out to Klarna and see why you are getting that error page ?

#

Can you translate the error for me in English ? and see if I can find something ?

sturdy sedge
#

Sure!

#

The country in which you are shopping does not match the country of your billing address. You can log in again with a different account.

#

I thought that I might have to set customer country somewhere on the payment intent?

tidal cargo
#

So that's explain, it, you are connected from Austria

#

So you can test it only if you choose Austria as a country

#

It happens when I select any other country then Austria here.
Which explains this

#

So the block is on Klarna side

#

you need to choose your contry code same as the country of your IP location

sturdy sedge
#

Just for testing?

#

*mode

#

Or in live mode as well?

tidal cargo
#

For both

sturdy sedge
#

Ok, thanks!

tidal cargo
#

Happy to help!

sturdy sedge
#

One more question, I didnt manage to use provided test credentials to be denied.

#

This is what I tried:

#

Entered the credentials for Austria for Denied: Test Person-at and customer+denied@email.at with the country Austria selected.

#

I get redirected to Klarna.

tidal cargo
#

You need to use these values

sturdy sedge
#

I'm in Austria, not Australia.

tidal cargo
#

Ah sorry

sturdy sedge
#

Eaxactly, that is what I entered.

tidal cargo
#

Can you share a screenshot on Klarna part ?

sturdy sedge
#

This is the what I get when I am redirected

#

In the background I see that some generated e-mail address was used and not the address I just entered.

tidal cargo
#

Hit on close

#

and try using another account by filling the details provided by Stripe

silver ginkgoBOT
sturdy sedge
#

I used the name and email address provided by strip for testing (decline) in the first screen here:

tidal cargo
#

This is in Striep Element

sturdy sedge
#

Yes

tidal cargo
#

Did you try to set thoses details in Klarna too ?

sturdy sedge
#

It sais that it is not available to edit.

tidal cargo
#

I just did a test and it's taking into account the email address

sturdy sedge
#

Very interesting...

#

Klarna is identifying me somehow... I just tried with brave in private mode and it seems to work.

violet crest
#

👋 stepping in

#

Very possible Klarna has some cookies at work in that flow -- we don't actually control that modal

#

But glad it seems to be working now?