#mathiasm8

1 messages ยท Page 1 of 1 (latest)

tired haloBOT
obtuse arch
#

So I have a case where my platform is enabling gym owners to create gyms. These accounts are connected accounts and they can create stripe prices and products on those. On my platform endusers can sign up as members on those gyms. After some support this evening I changed the session checkout so it does not use the account header to the connected account. The reason for this, is so the invoices are placed on the platform and not the connected account. I would like to use destination charges but my session create fails because Stripe says it dosen't know the prices. This I think, is because I now create the session on the platform and not the connected account there the prices are.

#

I could paste a code snippet if that would help understand my case better?

brisk bronze
#

Yeah, what code are you running?

obtuse arch
obtuse arch
#

Maybe all products and prices on my platform should not be assigned to a connected account but directly on the Stripe account? If so, I'm struggeling to figure out when it would make sense to assign the products and prices to the connected account?

brisk bronze
#

Sorry for the delay. If you create those products and prices on the platform, then you can use them for Destination Charges on connect accounts. I believe that's the solution you're looking for, but let me know if I missed something.

obtuse arch
#

Okay. In the API it dosen't seem possible to include meta data as a filter when searching for products/prices. I would need that if all products and prices a created on the platform. Else all my connected accounts can see each others prices/products on the stripe platform?

brisk bronze
obtuse arch
#

Ahh okay. Just for my understanding. When using destination charges all data should be stored on the platform and assigned meta data so I can track it to each connected account. Instead of assigning it to that account?

#

If so, I need to rebuild a couple of things ๐Ÿ™‚

brisk bronze
#

It depends on what the metadata is used for and when you need to access it. Every Stripe object has metadata (for the most part), so you can really set it almost anywhere you want

obtuse arch
#

I'll try to build it so products and prices are attached to the platform and not the connected accounts and then filter by meta data

brisk bronze
#

Sounds good!