#kfahad5607
1 messages ยท Page 1 of 1 (latest)
Hello ๐
It depends on what kind of connected accounts you're creating as well as the type of charges you want to create
I want to create standard account and direct charges.
Gotcha. In that case you'd likely want to create the customer, product and checkout session directly on John's (connected) account!
Okay. So, now the customer ID of user A is residing inside John's connected account.
Now, User A also wants to subscribe to author Mary's course. So, again we will create a stripe customer ID in Mary's connected account?
Yup that's correct.
The other option here would be to create customer ID and their payment method on the platform XYZ & clone it across to the connected accounts when needed. This would allow you to "share" the payment method across all connected accounts (authors)
If I use cloning method, then XYZ stripe account will contain all the customers of different tenants as it is a multi-tenant application. So all the customers which do not belong to same company/domain also reside in same XYZ stripe account.
yeah that's likely what's going to happen. You can use customer's metadata to track what customers belong to which tenant and all.
If you don't go with the cloning flow, you'll need to recollect payment method every time you create a new checkout session for a customer on a different author (connected account)
So these are the only options available with each having some trade-offs? There is no better way?
At the moment, ^those are the only options ๐ฆ
Okay. Thank you.