#anchornate_api

1 messages ยท Page 1 of 1 (latest)

teal glacierBOT
surreal solsticeBOT
#

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.

teal glacierBOT
#

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

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

teal tulip
#

This is the checkout UI not showing Klarna.

gray tapir
#

Are you a platform that's making requests on behalf of a connect account?

teal glacierBOT
teal tulip
#

yes

#

acct_1IoJkJLs5AKDbJzG is one of the connected account

gray tapir
teal tulip
#

can I know how to retrieve the account obj? Can I check this on Stripe Dashboard?

gray tapir
teal tulip
#

ok give me mins

#

I see klarna_payments: 'active'

carmine frost
#

Hello! I'm taking over and catching up...

#

Can you link me to the page where you have the Payment Element so I can take a look?

teal tulip
#

hmm this is my local host but I can do proxy

#

give me mins

#

can you add any item to a cart and let me know when you're done? i'll need to change the config on our end

#

and then you will see the checkout UI

#

Please click on Launch Inline on the left sidebar

carmine frost
#

Not working for me, looks like it's still trying to do something locally.

teal tulip
carmine frost
#

Making more progress, it's trying to load something...

#

Ah, okay, added something to my cart.

#

Should I go to checkout now?

teal tulip
#

ah okay give me mins I"ll need to change something on my end first

carmine frost
#

k

teal tulip
#

can you reload the page and click on Launch Inline again?

#

you will see this page and can process the transaction

carmine frost
#

Loading...

#

Okay, I'm on that screen.

#

Filled out some fake info and got this:

teal tulip
#

have you selected UK?

carmine frost
#

Ah, no, I did US.

#

Trying UK...

teal tulip
#

thanks I'm not sure this will fix though

carmine frost
#

What's a test UK phone number I can use?

teal tulip
#

44 20 7123 4567 this phone number will work

carmine frost
#

Same result.

teal tulip
#

ok. I'm not sure how to resolve this but we can check the network call

#

could you check the chaseTransaction network call? it should return a stripe string as chaseUid like the screenshot

carmine frost
#

Yep, it does. Getting tons of this in the console:

Warning: Invalid prop `onClick` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.
teal tulip
#

yea actually frontend shouldn't be an issue because it's a warning. I have tons of that too

#

still showing

carmine frost
#

Let me reload and try from the beginning again...

teal tulip
#

thank you!

carmine frost
#

Yeah, same:

teal tulip
#

ok give me mins

carmine frost
#

Ah, the iframe is trying to load from localhost:

carmine frost
#

Append it? What do you mean?

carmine frost
#

Oh, I see.

#

Okay, that gets me the Payment Element. Looking...

teal tulip
#

and checkout should show like this

#

sounds good

carmine frost
#

Ah, the issue is that I'm in the US, and the Payment Element is determining that I'm not in a Klarna-eligible country for this transaction based on my IP address and, thus, is not showing it for me. Are you in the UK or another country?

#

Klarna should show up in this Payment Element if it's loaded in the UK.

surreal solsticeBOT
teal tulip
#

I'm in US

#

I tried VPN but it didn't work

carmine frost
#

I'm not sure how reliable a VPN is going to be for testing this.

teal tulip
#

but technically VPN shoudl work

carmine frost
#

The Payment Intent you're using is associated with a Customer. Try giving that Customer a UK address, then try the Payment Element again. The Customer address might override the IP location.

teal tulip
#

ok I will try this now

#

It's still now showing

carmine frost
#

What's the ID for that Payment Intent?

teal tulip
#

pi_3PDtE2Ls5AKDbJzG1hFWFnWU

carmine frost
#

The associated Customer doesn't have an address.

teal tulip
#

ah okay I'll take a look

#

the log url isn't accessible to me

forest charm
#

๐Ÿ‘‹ which URL are you referring to?

carmine frost
#

I think the request log I linked to showing the Customer creation request.

#

You're probably not viewing the correct account; try switching to the account you're developing with using the account switcher in the top left of the Dashboard and then try the link again.

teal tulip
#

I created a new intent pi_3PDtbeLs5AKDbJzG0pe5zqo0 but it's still not showing..

carmine frost
#

That customer has a country code of UK but you need it to be GB right?

teal tulip
#

ah okay. I'll try again

#

wow..it works

#

thank you so much!!

#

we will pass the address obj

carmine frost
#

Happy to help!