#bootsy_klarna-addresselement

1 messages · Page 1 of 1 (latest)

small fernBOT
upbeat elmBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

small fernBOT
#

đź‘‹ 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/1240768132168290375

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

surreal cove
#

When you say "disabled" what do you mean?

#

Can you send a screenshot?

cinder dune
#

they're greyed out and nothing happens when i click them

#

dom shows they're disabled

surreal cove
#

That's just when you select Klarna right? It doesn't do that for card payments for example?

cinder dune
#

i dunno. i don't use paymentintent for card payments

#

the whole reason i implemented address element was cuz klarna requires a billing address and the paymentintent api won't return an address form

surreal cove
cinder dune
#

you mean pass the address with my own forms?

#

i'm only using billing mode, we don't ship

surreal cove
#

Got it. I believe that you have to pass in the country yourself when you call confirmKlarnaPayment() but let me double check.

cinder dune
#

yeah, i tried passing in just country

#

but it fails without line1, city, state, postal code

#

i was working with someone else earlier today. i think i found an edge case stripe doesn't support, which is passing address via stripe forms while using klarna even though klarna requires it

surreal cove
#

yeah, that's what I'm checking now

surreal cove
#

Just letting you know I have someone creating a quick repro to see if we can give you some guidance. Will circle back again in a few.

cinder dune
#

alright, sounds good. i've just captured the info with my own forms for now

surreal cove
#

It sounds like we would expect the address to be grayed out when the mode is set to billing. That being said, I'll circle back with more actionable feedback in a minute

#

Okay, so if you use Address Element in billing mode, then Payment Element will automatically gray out any billing fields, since they’ll be collected through Address Element.

The Address Element will automatically pass the country on to Payment Element if you use confirmPayment instead of confirmKlarnaPayment (in fact, confirmKlarnaPayment doesn’t pull in anything from payment element so the email input also wouldn’t work).

#

Does that give you enough to make some code changes and try it out?

upbeat elmBOT