#frabor98-connect

1 messages · Page 1 of 1 (latest)

thin vault
#

hi! you'd just have to create a Connect account in test mode, there's no test/magic string value to use.

high kayak
#

Ok, thanks!

#

In production can I send a transfer also to "not connected" accounts?

thin vault
#

absolutely not no

high kayak
#

Is there a way to send money also to not connected account?

thin vault
#

no

#

anyone you want to send money to has to have a Stripe account and that account has to be connected to your platform account

high kayak
#

Ok thanks. Of course everyone will have a stripe account

#

How can I connect that account to my account?

thin vault
#

depends on the type of account being used(Standard/Express/Custom). Have you read the Connect docs yet?

high kayak
thin vault
high kayak
#

I have to associate those accounts to my account

thin vault
high kayak
#

Ok, the doc says how to do it inside a website but I'm working on a mobile application

thin vault
#

It's possible to do this in general on mobile. Which specific part are you worried about? Which specific doc or code sample are you looking at?

#

some parts of it are server side and have to happen on a backend server, whereas things like collecting payment information can happen in an app, really depends

high kayak
#

Here: "After the user connects their existing or newly created account to your platform, they are redirected back to your site, to the URL established as your platform’s redirect_uri"

thin vault
#

yep, that is server side

high kayak
#

Ok, it's a callback?

thin vault
#

the OAuth flow happens in the web browser and they are redirected to your server, which completes the connection on the backend

high kayak
#

Ok, it's clear

#

Thanks

#

Then to make a transfer I have to use: "stripe_user_id"?

thin vault
#

that's the account ID yes so is what you might use

#

but note that you usually don't send transfers to Standard accounts. Like I linked originally, https://stripe.com/docs/connect/collect-then-transfer-guide is generally the guide for flows that involve sending transfers, so I'd suggest taking time to read the docs and see which model matches what your business is trying to do

high kayak
#

The business is very simple, I have to send money from my account to other accounts

thin vault
#

yeah but where does that money come from

#

how do you want refunds to end-customers to work, who handles those

#

etc

high kayak
#

The money come from a food delivery application

#

And I have to send money to the riders

#

Thoose have a stripe account

#

So I think that "standard" account fits my needs

#

Every rider will have a standard account linked to mine

thin vault
#

I would have said Express personally

#

so you are a platform and you process a payment with an end-customer paying for food

#

you transfer some of the money to a driver and keep the rest

high kayak
#

Yes

thin vault
#

you handle refunds if the end-customer wants one etc, the customer deals with you

high kayak
#

Yes

thin vault
#

the driver doesn't need or want a full Stripe account since they are not merchants and don't interact with customers

high kayak
#

The rider just has to receive its commision

thin vault
#

they just get money and pay it out

high kayak
#

Yes

thin vault
#

cool then like I said Express

#

not Standard, and not OAuth

high kayak
#

Does express account has dashboard like standard?

thin vault
high kayak
thin vault
#

that's not how it works, they sign up with you

#

via your site

high kayak
#

So I have to create a link in my website that redirects the user to the login link?

#

I don't think my client will choose this option...is it a problem if we use standard accounts?

thin vault
thin vault
#

there's a whole bunch of things in the UI and information asked for in the onboarding that makes no sense to someone who just wants to get their money and get paid out quickly

high kayak
#

Yes you're right. I will try to talk with my client

#

Last question, how can I transfer money from my account to express account?

#

Because once day every month I have to send money to the rider (I don't send the money on every transaction)

thin vault
#

it's a lot easier if you do transfer it on every transaction

#

I highly suggest doing it that way(it's what's called Destination Charges in the docs)

high kayak
#

Yes but that's not possible

thin vault
#

well then you have two options

high kayak
#

it's mandatory fot the project to send once a month

thin vault
#
  • on your platform account set yourself to manual payouts. That way you accumulate a balance over time. You can use the /v1/transfers API to send money from your accumulated balance to connected accounts.
  • use Destination Charges, but set the Express accounts to manual payouts so they can't actually get the money until you call the /v1/payouts API for them (https://stripe.com/docs/connect/manual-payouts)
high kayak
#

Ok, I think I will follow the first one

#

So I have to make a transfer: "stripe.transfers.create({});" where destionation is the id of the express accounts I have created?

thin vault
#

ok, just be aware that it's complicated

#

and the reconciliation(knowing which payments correspond to which payouts on bank accounts) is much harder when doing it this way

#

it's all totally possible but just be aware. Highly recommend you go with our default recommendations

high kayak
#

Ok, I will speak to my client. If he wants to keep this flow maybe it's easier with standard accounts?

#

Because I don't think he will change his mind about payments...

thin vault
high kayak
#

Ok so express account and transfer once a month. Thanks

high kayak
#

I've seen that to log in into express dashbaord I have to two factors authentication. In the documentatio I don't see where to put phone number when I create an express account

thin vault
#

it happens during the onboarding.

#

You create the account, then an AccountLink, then redirect the user to the URL from the AccountLink. That brings them to a Stripe hosted onboarding flow and part of that is entering a phone number.