ExpDev07 / laravel-cashier-stripe-connect

💲 Adds Stripe Connect functionality to Laravel's main billing package, Cashier. Simply works as a drop-in on top of Cashier, with no extra configuration.
https://github.com/ExpDev07/laravel-cashier-stripe-connect
MIT License
61 stars 27 forks source link

Standard connect vs express & handling cuts #5

Closed RyanPaiva56 closed 3 years ago

RyanPaiva56 commented 3 years ago

Hi! This package looks amazing, and I just have two questions:

  1. Is there (or could there be) documentation for creating regular connect accounts vs express accounts?
  2. What is the recommended way to take out your cut from the subscriptions you're setting up on behalf of connected accounts?
ExpDev07 commented 3 years ago
  1. Hey! Yeah, sorry for the bad docs. The createAsStripeAccount takes a type argument. Essentially you would do $model->createAsStripeAccount('standard') to create a standard Stripe Connect account for the model (user). The same goes for createOrGetStripeAccountand deleteAndCreateStripeAccount, they all take type as param with express as default.
  2. I believe this is done automatically through your Stripe dashboard. When you setup Connect, you can set what percentage you want.
hbakouane commented 3 years ago

Solved in #9