#kfahad5607

1 messages ยท Page 1 of 1 (latest)

hollow echoBOT
jovial sphinx
#

Hello ๐Ÿ‘‹
It depends on what kind of connected accounts you're creating as well as the type of charges you want to create

delicate imp
#

I want to create standard account and direct charges.

jovial sphinx
#

Gotcha. In that case you'd likely want to create the customer, product and checkout session directly on John's (connected) account!

delicate imp
#

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?

jovial sphinx
#

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)

hollow echoBOT
delicate imp
#

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.

jovial sphinx
#

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)

delicate imp
#

So these are the only options available with each having some trade-offs? There is no better way?

jovial sphinx
#

At the moment, ^those are the only options ๐Ÿ˜ฆ

delicate imp
#

Okay. Thank you.