#cdubs44

1 messages · Page 1 of 1 (latest)

real violetBOT
stiff nexus
#

Hello, we have a way to do this with tiered pricing I believe. Looking for the doc on this

#

If you define tiers with tiers_mode=graduated, the quantity will determine the price for all of the seats, not just the ones at each tier

dense zinc
#

got it. So I want graduated pricing not volume?

#

for all 26 people to be lowered to the $18 once that 26th is active

stiff nexus
#

Apologies, I mixed them up

#

Volume based pricing is the one that does what we want here:

Under volume-based pricing, a customer with 5 projects is charged 35 USD at the end of the period: 7 USD for each of the 5 projects. However, if they accumulate 6 projects the following month, then all projects are billed at the 6-10 rate. That month, they’re charged 39 USD (6.50 × 6).

dense zinc
#

I was going to say, I think its volume

#

But kk glad we're on the same page haha

#

thank you

#

@stiff nexus would this still work if all 26 people say are different customers with different custIds?

#

because that is how I am needing it to work

#

the same custId wont have more than one

stiff nexus
#

Unfortunately not. Stripe subscriptions work on a per-customer basis. There isn't a way to tell our API "these Subscriptions across multiple customers are all the same entity"

#

So in that case, you will need to track the total number of customers yourself and then update the price up or down based on that count

dense zinc
#

@stiff nexus got it. So if a price has an active subscription, I can't modify that price tho right? I would have to create a new price?

#

if that's true.. really there is no way to really do is, is there?

stiff nexus
#

Yes, you will need a price defined for the amount that you want to charge your users for their subscriptions

#

You can use the price_data has to define ad-hoc prices if you want. They don't require a separate call to create a price object. So this may make sense to do if you don't have set tiers for everyone for this https://stripe.com/docs/api/subscriptions/update#update_subscription-items-price_data