#dana_api

1 messages ยท Page 1 of 1 (latest)

rich fractalBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1384974401719631933

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

late maple
#

Hi there ๐Ÿ‘‹ I see klarna is listed in payment_method_types when the Payment Intent is created.

What do you do with it after that? Do you use it with our Payment Element or a mobile integration or something else?

marsh shell
#

Hello! I believe I use a Payment Element

rich fractalBOT
marsh shell
#

I'm using import { Elements } from '@stripe/react-stripe-js'; and pass the payment_intent_id into the Elements tag

late maple
#

Gotcha. Do you know if you use our deferred intents flow (where the Payment Element is rendered before a Payment Intent is created), or if you use the client_secret from the Payment Intent to initialize Elements?

marsh shell
#

I use the client_secret to initialize the Elements

rancid kettle
#

๐Ÿ‘‹ stepping in

#

Looking at the PaymentIntent from the request you provided, one sec

#

Okay looks like you are testing from GB so Klarna is only supported for GBP here.

#

If your customer is located in a different EU country, they could use Klarna with EUR

marsh shell
#

Oh I see. When I look at Klarna on the Payment Methods page for my EUR Stripe account, it says GBR* is a supported customer country

#

But I guess that list of countries only matches a certain subset of the present currencies, they don't necessarily match all of them right?

rancid kettle
#

Yeah that is a bit confusing and we should likely make that more clear.