#anchornate_api
1 messages ยท Page 1 of 1 (latest)
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.
- anchornate_api, 14 hours ago, 9 messages
๐ 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.
This is the link to the event https://dashboard.stripe.com/test/connect/accounts/acct_1IoJkJLs5AKDbJzG/payments/pi_3PDrHULs5AKDbJzG1XsFlgT7
This is the checkout UI not showing Klarna.
Are you a platform that's making requests on behalf of a connect account?
it looks like you might be using the connect account's API key to make requests. In that case, can you retrieve the Account object and check the capabilities hash (https://docs.stripe.com/api/accounts/object#account_object-capabilities) to see what it says for klarna_payments (https://docs.stripe.com/api/accounts/object#account_object-capabilities-klarna_payments) ?
can I know how to retrieve the account obj? Can I check this on Stripe Dashboard?
Can you make a regular Retrieve Account API call?
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?
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
Not working for me, looks like it's still trying to do something locally.
can you try with this url? https://5105-47-180-211-45.ngrok-free.app/sdk/test?pipeline-its
Making more progress, it's trying to load something...
Ah, okay, added something to my cart.
Should I go to checkout now?
ah okay give me mins I"ll need to change something on my end first
k
can you reload the page and click on Launch Inline again?
you will see this page and can process the transaction
have you selected UK?
thanks I'm not sure this will fix though
What's a test UK phone number I can use?
44 20 7123 4567 this phone number will work
Same result.
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
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.
yea actually frontend shouldn't be an issue because it's a warning. I have tons of that too
still showing
Let me reload and try from the beginning again...
thank you!
Yeah, same:
ok give me mins
Ah, the iframe is trying to load from localhost:
oh i found the issue
yea
can you copy the chaseUID and append it to here? https://5105-47-180-211-45.ngrok-free.app/stripe/checkout.html?
Append it? What do you mean?
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.
I'm not sure how reliable a VPN is going to be for testing this.
but technically VPN shoudl work
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.
What's the ID for that Payment Intent?
pi_3PDtE2Ls5AKDbJzG1hFWFnWU
The associated Customer doesn't have an address.
No address was set when you created the Customer here: https://dashboard.stripe.com/test/logs/req_VmAqHLATJl67Yi
๐ which URL are you referring to?
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.
I created a new intent pi_3PDtbeLs5AKDbJzG0pe5zqo0 but it's still not showing..
That customer has a country code of UK but you need it to be GB right?
ah okay. I'll try again
wow..it works
thank you so much!!
we will pass the address obj
Happy to help!