#RON WAFFLE - Connect Setup
1 messages ยท Page 1 of 1 (latest)
Hi ๐
We've got a good breakdown of things to consider when choosing which account type to use here:
https://stripe.com/docs/connect/accounts
Thanks I've read that. I think I want to lean towards standard but I'm confused how I get platform fees
but to answer your question directly, with Standard accounts you can attach an application_fee_amount to the charge created
It says they can directly charge through stripe?
but a standard account can make direct charges through the dashboard can't they? Which is outside my app
A standard account is a separate Stripe account.
So they have control of various aspects of their account.
You would have the ability to make direct charges on their account and take application fees, but charges they make outside your platform would not necessarily include your application fees
ah okay I'll read some more thank you for clearing it up
Sure thing!
Sorry I have one more question.
My flow looks like this
User signs in to my app -> clicks setup stripe -> I create stripe account and link to connect and redirect to onboarding url
What happens if they drop out of the onboarding process, how do I retrieve the onboarding url again as it will expire? Can I just call the same endpoint but the account will already exist so will this error?
Once they reach the page, the URL is effectively "used" and cannot be used again. That is why we include a refreshUrl parameter in the AccountLink creation. This should redirect your user to a page on your app that will create a new AccountLink for them.
Ah so an account link can be used many times?
Just creating the actual account can only be done once
Sorry I've just read the docs again and this is quite clear, I understand now
No I'm sorry if I was confusing. You cannot re-use an account link
You create a new one each time
I understand I think now, it's just quite confusing as I'm integrating this via an app
Oh yeah, it's a little more clear when you're the one writing the code.
But the basic idea is
- User logs into my app
- My app generates an AccountLink and sends user to Stripe onboarding
- User clicks away and does not complete
- User is redirected to my app which generates a new AccountLInk for them and sends them to Stripe
Thank you that makes sense. Is it best practice to create a stripe account for everyone who signs up then dealing with linking after
Because I'm still using the User's pre-generated AccountID, Stripe knows what they've completed and what they haven't
or create them on the fly
You need to have the Account created to generate the link.
But it's up to you where in your app's flow that occurs.
ok perfect thanks again for the help
๐ any time
and a stripe account is different from creating a stripe customer?
I'm using laravel cashier and the SDK isn't too clear
Yes.
You cannot charge on behalf of a Customer. They are simply records of individuals who you charge for goods/services.
Ah okay thanks