#storm_code

1 messages ยท Page 1 of 1 (latest)

real zealotBOT
#

๐Ÿ‘‹ 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/1432335635867373651

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

sacred ermine
#

๐Ÿ‘‹ Hi there! Let me take a look

#

You should be able to see Klarna and other payment method types with the Payment Element โ€”ย you're not required to add the Express Checkout Element

#

Do you have an example checkout session ID where you're not seeing the payment options you're expecting? (e.g. cs_xxx)

real zealotBOT
spiral harbor
#

cs_live_b1P710Os4Jn8ax3v8GnOTjDb43vidDnvCQlhKf4mj3UyowlfnPBo3UhGWQ

#

I thought so to but the element doesnt display those options

naive nimbus
#

Hey! Taking over for my colleague. Let me catch up.

spiral harbor
#

๐Ÿ‘

naive nimbus
#
    "card",
    "bancontact",
    "eps",
    "klarna",
    "link",
    "amazon_pay",
#

These are the available one

#

could you please share a screenshot of what you are seeing ?

naive nimbus
real zealotBOT
spiral harbor
#

I create a checkout session in my backend. That returns the checkout session id to frontend.
I then use the session Id in frontend.

regal breach
#

Hi, taking over as my teammate needs to step away. Let me catch up.

#

The customer's country is SE which is outside the countries you can accept with klarna for the provided currency eur. You can look at where we support this payment method: https://docs.stripe.com/payments/klarna

spiral harbor
#

I use CheckoutProvider to wrap the checkout component.
Then I fetch the clientSecret used.

#

Okay. But shouldnt it be able to change to SEK if so or?

regal breach
#

yes, can you try that please?

spiral harbor
#

I added SEK to klarna now.

#

I still send EUR to stripe. Can it change with adaptive pricing to SEK it self or do I need to initiate the checkout session with SEK?

regal breach
#

what does 'I added SEK to klarna now.' mean?

#

You need to create a checkout session with sek price

spiral harbor
#

Since our price is in EUR we dont want to handle currency changes.
I hade disabled SEK in the klarna payment method option

#

Okay so I need to change to SEK in checkout session to be able to have klarna?

#

But apple pay and google pay?

regal breach
spiral harbor
#

I have these

#

Yeah but adaptive pricing is on.

regal breach
spiral harbor
#

๐Ÿ‘

regal breach
#

To see klarna if you're in SE, you'd need to use a price with SEK currency

#

As for 'But apple pay and google pay?', what do you mean?

spiral harbor
#

okay. But apple pay and google pay?

#

I dont have them as options in payment element

#

I activated them as payment methods also

regal breach
#

Do you have a real card in your browser's wallet?

spiral harbor
#

ahh.. let me check. ahh.. on the phone.. ๐Ÿ™‚
Working

#

Well.. then I got all my questions answered

#

๐Ÿ™‚

#

๐Ÿ‘

#

So for klarna I need to send SEK to be able to have that as an option. Thanks

regal breach
#

Yes, glad you're unblocked.

spiral harbor
#

Klarna says it supports EUR?

#

Thats a bit strange that in stripe config for klarna I can select EUR as supported currency. But it demands me to create the sessio with SEK.

regal breach
#

Hmm, let me look further.

spiral harbor
#

๐Ÿ‘

regal breach
spiral harbor
#

okay. can I change that to eur for the company? Even if Im in sweden?