#dragan_customer-modeling

1 messages ยท Page 1 of 1 (latest)

thin rockBOT
vivid echoBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

thin rockBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1246128454970118234

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

uneven sand
#

@deep finch Each Customer is independent/separate and has their own card as PaymentMethods objects. There's no sharing of a PaymentMethod between multiple Customer objects.

deep finch
#

What if a Payment method is on the User level? Then each Organization will have a Subscription to which we can attach the payment method. Right?

#

But then, what happens when a member of the organization wants to update the organization's payment method?

#

Is this question now more related to best practices topic?

uneven sand
#

I don't fully grasp what you are describing so it's tough to say. We don't have a concept of "organization vs users". We have Customers as a concept which represent an "entity" paying for services. If you want the Customer to be an "organization/company" you can. But then if you want employees to be able to change/add/remove card(s) then you will have to build the mapping from employees to organizations in your own systems

deep finch
#

Sorry for that. Users and Organizations are in my app. And I want to decide if we're going to store the payment method on a Org or User level. So we want to decide if we create a customer in Stripe per each user or per each org.

#

My original question was related to the "card sharing" but you confirmed it's not possible.

uneven sand
#

dragan_customer-modeling

deep finch
#

Then I asked if we create a Customer in Stripe for each User in our app. When a User creates an Organization in our app, we will create a Stripe Subscription for that user, and assing the payment method from Stripe Customer account.

#

The question was: what when someone else from Organization in our app wants to update the payment method that is assigned to the Subscription (that is created for that organization)?

uneven sand
#

what's the problem with that exactly?

deep finch
#

How can customer B access customer A payment details?

#

Or when updating the Subscription, customer B will add a new payment details to the Subscription he's sharing with customer A?

uneven sand
#

This is basically impossible ๐Ÿ˜… Sorry I thought that's what I explained already but I think we're not understanding each other.

We (Stripe) have no concept of "sharing". Customer A and Customer B are completely separate "entities" with zero interaction with each other. We also don't know anything about those Customers, you do and you tell us what to do with your own code.
So if Customer A is John and wants to change the credit card for Customer B (Alice) then you (the business) can write code that lets Customer A in your own app (nothing to with Stripe) enter card details that will then be added to Customer B (in Stripe).

Does that make sense?

deep finch
#

Ofc it does, but my questions are obviously not good enough (as I'm still trying to find out the best solution for my problems).

uneven sand
#

Try to pick a concrete example, refer to Stripe objects and what your code would do that you think is the problem

deep finch
#

It might take some time. I need to gather all the information and then ask for best practices.

Anyhow, you have answered to my original question which was related to the API and possibility to clone/share the payment methods.

Thank you for your help, you can close the topic. I'll open a new one when I'm ready.