#alex-elopage_api

1 messages ยท Page 1 of 1 (latest)

honest jacinthBOT
#

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

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

fallen spoke
#

hi! how exactly do you follow the URL, is there some specific code you use to do the redirect?

marsh hound
#

Hey
Currently, I just do it all in a ruby console, so I don't redirect, I just copy-paste it from a terminal

fallen spoke
#

well it should just work, it's possible that when you copy-paste you're missing some of the string, that would be my best guess.

#

do you have the cs_test_xxx ID involved so I can have a look too?

marsh hound
#

sure, give me a sec

#

page looks like so, just fyi

#

cs_test_c1i8lfZcefXmozjv9GQLfgVxH9llIpRH69LN62UHWWjx4S4ko9jT3q2u3P#fidkdWxOYHwnPyd1blpxYHZxWkA3amxuVWBfXGtDNmMxPHdwQHBCPEhnaCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBaZmppcGhrJyknYGtkZ2lgVWlkZmBtamlhYHd2Jz9xd3BgeCUl

#

that is what comes before cs_test...

fallen spoke
#

ah ok, there is an actual error involved. It's something to do with Klarna not being allowed for setup mode

#

I believe that's an invite-only feature, presumably one of your Stripe accounts is able to use that(which is why you can view those docs you linked above), but you're using the API keys of a different account for this

marsh hound
#

oh, I see.
It's weird because I know I can only access these docs only by invite only feature. And it suggests to me to use api key which should have the access to that Klarna feature ๐Ÿค”

fallen spoke
#

yeah, not sure, I think you have access based on what I see on the account

marsh hound
#

Does it mean that it's an actual bug with Klarna setup mode?

#

Alright, will do

#

thank you

fallen spoke
#

looking at the code a bit I don't think Checkout supports this at all and it's just hardcoded to error

#

I would guess that you can only use Klarna with SetupIntents+Elements and not with Checkout specifically and the docs are just wrong, so worth escalating that with your contacts/support

marsh hound
#

Wow, interesting
Do you maybe have a link to a documentation for SetupIntents+Elements?

fallen spoke
#

hmm it should be the "direct API" tab in the page you linked

#

but when you switch to the tab it's just the Checkout documentation again, so that's also broken