Is it possible/allowed to register a company as a customer in Stripe? - stripe-payments

So in my use case, I have a service that I provide to some companies. Those companies each have several employees who are responsible for purchasing subscriptions to my service via Stripe. Instead of creating accounts for each of the employees, I'd like to have a single account per company/organization, so any employee with enough permissions could purchase a subscription. And all of the subscriptions will be linked to company accounts, not to personal ones.
I would appreciate it if someone tells me if this flow possible?

Related

Stripe Customer Portal - show specific subscription

I have one Stripe Customer, that attached to many companies into my project. Every company has its own subscription. So one Customer has many Subscriptions.
But during manage subscriptions on Customer Portal page I want to see just one subscription related to company (for now I see all Subscriptions related to the Customer).
Is there way (param) to show just one subscription related to specific Company (maybe by its ID) on Customer Portal page?
It's not possible right now to restrict the subscriptions managed in a Customer Portal session. You pass the customer parameter on creation and all subscriptions associated to that Customer object are manageable.

Share Customer and its PaymentMethods with Connected Accounts

I'm building a platform where content creators can setup a subscription service of which I'll take a fee (think Twitch.tv, Substack, OnlyFans, etc.)
Content creators will setup a Stripe Connected Account on the platform. I'll operate the Platform Account.
Customers that subscribe to a content creator might want to subscribe to others so it makes sense to keep both Customers and their PaymentMethods on the Platform Account. Customers must be able to manage all their subscriptions and have their credit card details pre-filled, if already available.
I can't, for the life of me, understand how to share these Customers and their PaymentMethods with the content creator's Connected Accounts.
I followed the clone customers across accounts guide unsuccessfully. It errors out while creating the Token, saying that the Customer must have an active payment source. I read somewhere that this guide doesn't work with PaymentMethods but I don't really know if that's true.
Then I found this other guide. It seems, though, that I would have to create a Customer, per User, per Connected Account which will make me duplicate information and make subscription management harder.
Could anyone, who has experience building a similar service, give me some pointers?
Thanks
Instead of cloning PaymentMethods to your connected accounts (for which this guide is the correct one) you could create subscriptions using destination charges. The idea being that the customers and payment methods stay on your platform account. When an invoice is paid its funds (minus an application fee set by you) are automatically transferred to the connected account.

Creating subscription plans charging connected accounts using stripe

I basically want to create subscription plans where I can charge the connected accounts and give them additional benefits on the platform in return. Because the connected accounts are businesses, they are not registered as customers on the platform. Is there a proper way to do this through stripe?
Your options here basically are to either register them as Customers as well and use Subscriptions, or potentially use Account Debits and your own recurring mechanism.

Stripe API subscriptions flow?

Using Node.js
I got a question with the flow of the API.
My web app allows users to use the site for free but gives them a choice to "subscribe" to other users and view their premium content which charges them monthly.
Looking at the stripe API, to add a subscription to a user, I would need customer object. Would the proper flow of this be:
User signs up and in the backend, create a stripe customer for said user and save the id into my user object database.
When user subscribes to another user, grab their customer id from the database and create the subscription.
Also side question, does this allow for multiple subscriptions of the same product? Because a user can subscribe to multiple users
Thanks!
Your understanding of Customers sounds correct; you collect a user's credit card details, create a Customer object, then using that id, sign the Customer up for a Subscription.
With a Stripe Subscription you can use quantity or have multiple subscription items attached to a single Subscription. So if the user already has an active subscription, you could grab this and increase the quantity or add a second plan.
e.g. you could bill a user for Plan A and Plan B on a single Subscription, or 2 x Plan A, etc
see:
https://stripe.com/docs/api/subscription_items/create#create_subscription_item-quantity
https://stripe.com/docs/api/subscription_items/create

Multiple Stripe accounts in one form

With Stripe, can I have two charges from two different stripe accounts on one form? ie) Have the setup fee be sent Company A and the product fee sent to Company B...
I am creating a subscription based website however, I need to charge consumers a fee for their transaction as well as send the payment directly to the company. Example: The consumer will be charge a transaction fee of $5, which will go to my company. Furthermore, the price of the product will go to the company that posts the product. Therefore, I get the transaction fee and the company gets the money for their product.
Is there a way to do this with Stripe?
Yes, you'd need to use Stripe Connect to accept payments on behalf of other accounts, and optionally take a cut.
In your case, your account would be the platform's account and the company that ships the product would be a connected account.
You could then accept charges on behalf of this company, and specify your own application fee: https://stripe.com/docs/connect/payments-fees

Resources