#chimpTerminal

1 messages · Page 1 of 1 (latest)

spiral cargoBOT
tropic radish
#

Hello, this is a server for coding questions. Are you coding to our API at the moment?

#

For overall business questions you can reach out to our support team https://support.stripe.com/?contact=true

frigid walrus
#

yes im coding

#

im selling a software thats hosted on my web app. I want to sell to law offices a package so their employees can access the software. Can you guide me to the write docs what explain how to do this. i assume quantity of sale, but how do i grant access to employee accounts.

tropic radish
#

Are you asking how to tell that one of your payments has completed successfully?

#

If so can you tell me how you are taking these payments? Are you using one of our hosted Checkout pages or your own custom page or something else?

frigid walrus
#

yes im using a price table with webhooks

#

but for example

#

if a law firm owner purchases a plan from me that includes 10 licenses for their employees. How does stripe handle this, does it create 10 new customers or does it happen differently?

#

because i need to link the accounts they create on my webapp with the valid licenses bought through stripe

tropic radish
#

No it would just create one customer.

spiral cargoBOT
frigid walrus
#

ok so if someone buys 11 of these

#

how do i asign each unit to a user on my webapp?

bright solar
#

Hi 👋

frigid walrus
#

ok great so if a user orders 10 there will be 10 keys i can distribute to users that do not have stripe accounts?

bright solar
#

I"m not sure what you mean. Why would the customers need to have Stripe accounts? Aren't the key something internal to your integration?

frigid walrus
#

i have a chatbot and i want to sell access to firms ok. so when the firm buys a subscription they will purchase a certain amount of desks for their employees to use.

so the problem is 1 account buys all the plans from stripe, ok. and i dont know how i take for example 10 desks and distribute that access to their employees on my webapp.

does stripe give a unique key for each plan if a customer purchases 10

bright solar
#

No, there would only be 1 customer since the checkout process occurs 1 time

#

On Stripe's end

#

you would need to capture those details yourself

frigid walrus
#

ok so i would

#

capture that a customer has purchased 10 units of software access. then create 10 unique ids and create a UI that the employees can create and account on my webapp and then enter the uniqe id to get access?

are you 100% stripe does not already do this through an event?

bright solar
#

100%. The event just notifies you of the payment

#

It assigns the purchase to the Customer record created but that is 1 Customer record for N number of licenses. 1 email. It's up to you to manage your customers

frigid walrus
#

ok thanks so i can webhook the info about the quantity purchased