#Simolem - Checkout quantity
1 messages · Page 1 of 1 (latest)
If I understand correctly, you should just need to set the quantity in the corresponding line item https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-quantity
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Unless you set the adjustable quantity hash, the user should not be able to pick their own quantity
Ok so as far as I understand., I'll have to choose as a pricing model a recurring with metered usage and the product I'll be creating will be subscription? then I'll have to pass the quantity through the API?
Simolem, it's a subscription and you just simply provide the items and the quantity
Yes, if it is just a per seat subscription like you initially subscribed, you should just need the prices and quantities
It's saying that quantity is ignored when using metered.
Is there a usage based component here that you are using metered for?
Pompey, not according to his original request.
From what I can tell he is just trying to hide on checkout "how many"
So the real question is. How does the user know? Are you creating packs of users or something?
If you're creating packs of users and it's not a users choice (per seats they want to purchase) and they must choose a pack. Just simply create a price per pack and pass that price with quantity of 1 with metadata of how many users.
Nop, depending on the number of users, we want the quantity to be fixed
Simolem, this doesn't make logical sense?
How does the end user know how many users the end user gets?
That would be like me saying give me $100. And I will give you candy bars
Could be 2 or could be 100
End user would want to know how many candy bars their going to get for a $100
Simolem, can you tell me more about your pricing model here? Maybe can you give an example of what you want an example subscription to look like after Checkout?
@glacial dagger big thank you to you and all the staff at Stripe