woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
235 stars 206 forks source link

Stripe Connect #245

Closed corsonr closed 7 years ago

corsonr commented 7 years ago

Are we planning to add Stripe Connect for split payments?


roykho commented 7 years ago

Yes however I am not sure if that would make sense to add it to this extension as it is completely different and uses are completely different as well. So closing this for now.

tgroshon commented 7 years ago

I may have a use case that is narrow enough to make sense: a user has a stripe account setup as a vendor on a 3rd party's Stripe Connect platform (referred to as SC_Platform for clarity), but uses a wordpress site that is not shared with anyone else. So additional values need to be stored/submitted but the process is almost identical.

This could happen if an eCommerce company purchases a turn-key Wordpress site from a web development firm who manages a SC_Platform and sets up the customer company as a vendor on it's platform (to streamline on boarding, capture fees, etc.).

This appears like it could be solved in the current system by adding (a) the ability to store the stripe_user_id in the normal process of configuring stripe with the key and secret and then (b) submitting that value as the Stripe-Account header when making charges.

Here are some stripe docs/guides that discuss the process: https://stripe.com/docs/recipes/store-builder#connecting-accounts

That may be enough to support making payments with a stripe account connected to an SC_Platform.

Does the use case and/or solution make sense and seem reasonable?

If it does, I am willing to submit a patch if someone can give me some pointers of where to start looking.