#hayes_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/1230973457068593172
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello
Hello ๐
Looks to me like you are creating accounts and account links, not login links.
You can see this if you look at your logs at https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And you can filter to include outbound connect requests
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', []);
Please redact that secret key
sorry
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
Ok I wisll give it another go but I am not sure why that wouldn't be running.
Try it again and let me know if you still have issues... I don't see any login links being created by your platform
Yup your 100% correct, ๐คฆโโ๏ธ github copilot failed me this time with the auto complete method name haha thanks
Glad it is working!
Happy to close this ๐
๐
Hello sorry , how can I set a redirect url to get out of the dashboard?
there is nothing in docs for a redirect url
Yeah that doesn't exist for the Express Dashboard or login links
oh I see thans