#adrianvalenz_api

1 messages ยท Page 1 of 1 (latest)

gleaming jackalBOT
#

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

solar kilnBOT
fading aspen
#

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.

distant needle
#

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?

fading aspen
#

Sure, if it helps articulate your question/concern

distant needle
#

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.

fading aspen
#

Your code should create the Account for them.

distant needle
#

Yes. I want my code to do as much as possible, even though I'll be using the Standard account type

fading aspen
#

How far have you gotten in deciding how you plan to structure this.

#

Ah you're planning to use Standard Accounts, got it

distant needle
#

Mainly because the client wants to keep liability on the Users who are selling/renting.

fading aspen
gleaming jackalBOT
distant needle
#

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?

fading aspen
#

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

distant needle
#

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

pulsar jetty
#

A platform can have multiple connect accounts.

#

So, it depends on if you're talking about the platform or the connect account here

distant needle
#

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

pulsar jetty
#

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

Learn how to route payments between multiple parties.