#hayes_api

1 messages ยท Page 1 of 1 (latest)

olive kernelBOT
#

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

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

tulip pendantBOT
serene garnet
#

Hello

somber jackal
#

Hello ๐Ÿ™‚

serene garnet
#

Looks to me like you are creating accounts and account links, not login links.

#

And you can filter to include outbound connect requests

somber jackal
#

I am using what is in the docs?

Create a login link
Creates a single-use login link for an Express account to access their Stripe dashboard.

You may only create login links for Express accounts connected to your platform.

$stripe = new \Stripe\StripeClient('key');
$stripe->accounts->createLoginLink('acct_1032D82eZvKYlo2C', []);

serene garnet
#

Please redact that secret key

somber jackal
#

sorry

serene garnet
#

No worries, just should never share it

#

Yeah I don't think that code is actually running

#

I'd recommend clearing your cache and saving your code again and trying again

somber jackal
#

Ok I wisll give it another go but I am not sure why that wouldn't be running.

serene garnet
#

Try it again and let me know if you still have issues... I don't see any login links being created by your platform

somber jackal
#

Yup your 100% correct, ๐Ÿคฆโ€โ™‚๏ธ github copilot failed me this time with the auto complete method name haha thanks

serene garnet
#

Glad it is working!

somber jackal
#

Happy to close this ๐Ÿ™‚

serene garnet
#

๐Ÿ‘

somber jackal
#

Hello sorry , how can I set a redirect url to get out of the dashboard?

#

there is nothing in docs for a redirect url

serene garnet
#

Yeah that doesn't exist for the Express Dashboard or login links

somber jackal
#

oh I see thans