stripe-firebase-extensions icon indicating copy to clipboard operation
stripe-firebase-extensions copied to clipboard

Add Stripe Connect functionality, accept AccountID and Percent/Amount Flatform Fee

Open dijour opened this issue 3 years ago • 7 comments

Feature request

Is your feature request related to a problem? Please describe.

I am using the Stripe Connect ecosystem. My website is a marketplace for services. There's currently no way to specify in the session creation code that I'd like a subscription/one time payment to collect a fee and direct-pay one of the vendors on my platform. Adding in Stripe Connect functionality would make this cloud function much more useful for my use case.

Describe the solution you'd like

I'd like each session to have keys to specify a fee (percent or amount) and accountIds of vendors for direct-pay. This would allow customers to purchase products from vendors, for those vendors to get paid, and for my platform to collect a fee.

Describe alternatives you've considered

Nothing else explored, this functionality is critical.

Additional context

Add any other context or screenshots about the feature request here.

dijour avatar May 12 '21 04:05 dijour

Hi everyone! If I want to build a question/answer marketplace with Stripe payments. Let's say user A asks a question as set's a reward of 25$ for the best answer. What solution would stripe offer me as a platform/marketplace to charge 5$ for me and send the rest of 20$ directly to the user who responded to the question? I am new to Stripe Payments, even the right name for my problem/solution would help me a lot. Is this possible with current Stripe-Firebase integration? Thanks!

nemet4ndrea avatar May 17 '21 19:05 nemet4ndrea

@nemet4ndrea yes this is possible with Stripe Connect: https://stripe.com/docs/connect/charges

But currently not possible with this extension. For help with your integration you can jump on our technical chat: https://webchat.freenode.net/#stripe

thorsten-stripe avatar May 18 '21 08:05 thorsten-stripe

From related: https://github.com/stripe/stripe-firebase-extensions/pull/185#issuecomment-839681776

I'm afraid it would be a bit more involved than that. Especially application fee percentage, is not something we'd want to allow folks to set from the client-side. Here we would need a new Cloud Firestore collection that has documents for each connected account and from there reads the corresponding application fee.

I see you have filed a feature request, so we'll evaluate that, but I can't tell you when we'd be able to add connect support.

Would it be easier if the required parameters vendor_reference_id and application_fee_percent were stored as metadata on the product or price itself? In other words, the product/price is pre-assigned to a connect user.

DCSnip3r avatar Jun 02 '21 21:06 DCSnip3r

That could be a possible solution too. Basically looking for any way to more tightly integrate the customer + product + price + subscription + application fee and get the vendor paid appropriately.

On Wed, Jun 2, 2021 at 2:31 PM Dane Christianson @.***> wrote:

From related: #185 (comment) https://github.com/stripe/stripe-firebase-extensions/pull/185#issuecomment-839681776

I'm afraid it would be a bit more involved than that. Especially application fee percentage, is not something we'd want to allow folks to set from the client-side. Here we would need a new Cloud Firestore collection that has documents for each connected account and from there reads the corresponding application fee.

I see you have filed a feature request, so we'll evaluate that, but I can't tell you when we'd be able to add connect support.

Would it be easier if the required parameters vendor_reference_id and application_fee_percent were stored as metadata on the product or price itself? In other words, the product/price is pre-assigned to a connect user.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stripe/stripe-firebase-extensions/issues/184#issuecomment-853396998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGN4ARDJ53GQHT35R7GZ5ELTQ2PJVANCNFSM44XY2ACA .

-- Dean Z. Dijour Dijour Ventures, LLC. (732) 832-5281

dijour avatar Jun 02 '21 21:06 dijour

Just wanted to bump this again to see if this will have any traction @thorsten-stripe. Integrating this on my own seems a bit tricky. But it seems like a critical piece of infrastructure for developers, I think it would be quite valuable. Otherwise it's a bit crazy to try to manually code this.

dijour avatar Aug 02 '21 05:08 dijour

Integrating this on my own seems a bit tricky.

@dijour running a Stripe Connect marketplace is a pretty involved endeavor, not something you'd just want to install an extension for without knowing what you're getting yourself into. Also, marketplaces tend to be very nuanced and therefore need a considerable amount of customization, which doesn't lend itself well for the current Firebase Extension experience.

thorsten-stripe avatar Aug 02 '21 15:08 thorsten-stripe

While I understand Stripe Connect is a very complex, large feature. You would be able to allow those of use using a hybrid of Firebase Extension and our own implementation to achieve the above request but letting use pass through keys to the Stripe Checkout.

I.e. all I need to make this work on our prototype platform is for checkout to take a platform_fee and a destination. I don't need you guys to jump through hoops supporting Stripe Connect, I just need keys I put in the checkout_sessions document to be passed in.

Praesum avatar Jul 31 '22 02:07 Praesum

We would also greatly appreciate a rudimentary implementation or workaround for Stripe Connect.

Oliver530 avatar Nov 22 '22 14:11 Oliver530

There are no plans to add support for Connect related parameters. Closing this out.

jsteele-stripe avatar Feb 02 '23 13:02 jsteele-stripe