jalendport/craft-stripecheckout

Stripe Connect

Closed this issue · 2 comments

@lukeyouell would it be easy enough to include additional options in the \Stripe\Charge::create() request, we are looking to add support for Stripe's connected accounts and would just need to pass the account id and optional application fee:

$charge = \Stripe\Charge::create(array(
  "amount" => 1000,
  "currency" => "usd",
  "source" => "tok_visa",
  "application_fee" => 123,
), array("stripe_account" => "{CONNECTED_STRIPE_ACCOUNT_ID}"));

Was about to start work on a plugin to handle all this but it looks like you have most things covered here :)

Thanks

@samhibberd this plugin is due for an update so I'll leave this issue open for when I get around to it, thanks!

Closed via 05e7d0c