#alex-elopage_api
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/1267421010374693029
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! how exactly do you follow the URL, is there some specific code you use to do the redirect?
Hey
Currently, I just do it all in a ruby console, so I don't redirect, I just copy-paste it from a terminal
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?
sure, give me a sec
page looks like so, just fyi
cs_test_c1i8lfZcefXmozjv9GQLfgVxH9llIpRH69LN62UHWWjx4S4ko9jT3q2u3P#fidkdWxOYHwnPyd1blpxYHZxWkA3amxuVWBfXGtDNmMxPHdwQHBCPEhnaCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBaZmppcGhrJyknYGtkZ2lgVWlkZmBtamlhYHd2Jz9xd3BgeCUl
The URL returned has https://checkout.stripe.com/c/pay/
that is what comes before cs_test...
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
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 ๐ค
yeah, not sure, I think you have access based on what I see on the account
I don't know much about this feature, maybe something is broken. I'd suggest reaching out to https://support.stripe.com/?contact=true or your Stripe contacts so we can investigate
Does it mean that it's an actual bug with Klarna setup mode?
Alright, will do
thank you
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
Wow, interesting
Do you maybe have a link to a documentation for SetupIntents+Elements?