#adrianvalenz_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1251198289756422257
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there ๐ can you help me understand what you're trying to get working about that flow right now? Without more context about the specific hurdle, my suggestion is going to be to review our (Stripe's) documentation on how to use Connect. Connect is a pretty robust product, designed for building complex flows for involving third-parties in your selling process, so there is a fair bit of complexity there to get familiar with.
Hey Toby! Thank you for taking the time to chat with me on this. I will do my best to describe the product in detail. Can I share screenshot of my web app for visual support?
Sure, if it helps articulate your question/concern
I don't know how to generate a link that will allow my user to create a connected account for one. That blue button in the screenshot is just HTML...it doesn't do anything, but I would like a user to first create a connected account before they are allowed to create listings.
Your code should create the Account for them.
Yes. I want my code to do as much as possible, even though I'll be using the Standard account type
How far have you gotten in deciding how you plan to structure this.
Ah you're planning to use Standard Accounts, got it
Mainly because the client wants to keep liability on the Users who are selling/renting.
Have you looked through our guide for creating a Connected Account, and an Account Link to lead them to the onboarding experience?
https://docs.stripe.com/connect/standard-accounts
Yes and some questions I had from it concern is storing the connected account id on the user so I know they have a connected account. Is there an object returned that allows me to grab it and store it for the user?
Accounts are objects, and they have IDs that can be referenced. Those are included in the response that is provided when you create an Account. An example response for the Account creation endpoint, along with our other endpoints, can be found in our API reference:
https://docs.stripe.com/api/accounts/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This could be expressed as a User has an Account association in Rails. Where the foreign key is on the accounts table (user_id)
In CJ Avila's video where he builds the newsletter, I was confused as to why the user has many connected_accounts. But I'm guessing I could very well just allow the user to have one connected_account
A platform can have multiple connect accounts.
So, it depends on if you're talking about the platform or the connect account here
The platform app (which is my client's main Stripe account) will have many connect accounts. But from the user's perspective that is clicking the button to create the connect account, how does that association work or where is the connect account id best stored for that user so I know whether or not to let them create listings
This is very well-documented: https://docs.stripe.com/connect
This chat is focused on developers and API integration questions. If you have questions about the basics of connect, I would recommend reaching out to our support folks: https://support.stripe.com/contact
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.