#storm_code
1 messages ยท Page 1 of 1 (latest)
๐ 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.
๐ 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)
cs_live_b1P710Os4Jn8ax3v8GnOTjDb43vidDnvCQlhKf4mj3UyowlfnPBo3UhGWQ
I thought so to but the element doesnt display those options
Hey! Taking over for my colleague. Let me catch up.
๐
This Checkout Session do have Klarna among the available payment methods
"card",
"bancontact",
"eps",
"klarna",
"link",
"amazon_pay",
These are the available one
could you please share a screenshot of what you are seeing ?
How are you using this Id ?
I create a checkout session in my backend. That returns the checkout session id to frontend.
I then use the session Id in frontend.
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
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?
yes, can you try that please?
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?
what does 'I added SEK to klarna now.' mean?
You need to create a checkout session with sek price
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?
You can turn on Adaptive Pricing, https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing
Ah, Adaptive Pricing only works with some payment methods: https://docs.stripe.com/payments/currencies/localize-prices/adaptive-pricing?payment-ui=stripe-hosted#configure-local-payment-methods
๐
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?
okay. But apple pay and google pay?
I dont have them as options in payment element
I activated them as payment methods also
Do you have a real card in your browser's wallet?
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
Yes, glad you're unblocked.
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.
Hmm, let me look further.
๐
So the currency you created the price in differs from your default settlement currency since your business location is SE, https://docs.stripe.com/payments/klarna#cross-border-payments SEK will be supported
okay. can I change that to eur for the company? Even if Im in sweden?