solidus_stripe
solidus_stripe copied to clipboard
allow stripe connect options when create intent
This PR is sponsored by MagmaLabs
This allow solidus_stripe
gem to use stripe connect.
Stripe connect allows you to split payment, so you can take a fee from there. The main use for these feature is for marketplaces or platforms.
This implement the stripe connect with direct or destination charges.
I'm not totally sure where will be the best place to set the connected_account
in the gem. This will be the account where stripe transfer the payment less the fee.
For now I set that in payment method, but maybe will be better left that part to the application implementation.
Let me know what do you think?
This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.
@elia @ccarruitero I am interested in using this (or a similar) enhancement to collect connect payments. I'm curious if you are using this in production and if you might have made any changes since pushing this up.
Is this something that could be merged or is it waiting on anything? I can try to help if there is anything that's needed.
Thanks again for all this work.
Hi @ericgross
I was looking into stripe connect docs and I think the intent options for connect is still the same
But solidus_stripe
gem changed a bit since this PR was opened. Right now this PR is not compatible with latest version.
Looking into solidus_stripe, it already handle additional parameters when create intent. So, if you want to reimplement this, you only need to add the logic for connect options in the gateway authorize method