#Quartzic
1 messages · Page 1 of 1 (latest)
When the users set their own price, does the amount remain the same for the future cycle, or will it change?
It may change
So, given that there may be many different types of transactions, I was thinking that it might make more sense to have users add cards (currently I've set up a button to create checkout sessions in setup mode), and we'll keep track of their balance in our app and bill it once it hits a certain threshold or after a certain amount of time.
But I wanted to make sure that there was no existing stripe functionality to do this where I can send an event each time a transaction occurs and have Stripe do the math for me?
we'll keep track of their balance in our app and bill it once it hits a certain threshold or after a certain amount of time.
If you're referring to this as whether there's any such kind of existing functionality in Stripe, then no.
Stripe billing is always running on fixed period
Oh wait! Let me think about this
Have you given it a try whether this will fit your case?
One issue I foresee with using subscriptions / billing / metered usage / usage thresholds is that to support the "pay-what-you-want-per-unit" model, we would have to programmatically create a price for each user when they choose
And if they change their price, I guess we'd have to cancel their old subscription and start them on a new one with the new price?
I also see that I can issue customers credit balances
And if they change their price, I guess we'd have to cancel their old subscription and start them on a new one with the new price?
Prices can be updated using Subscription Update API: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
Would that affect everybody using that same price?
For every different amount, a new Price (object) should be set, so it won't affect existing Prices
So, I could have a large set of prices — one at $1.50/unit, one at $2/unit, etc — and switch people's subscriptions between them? And then I just report usage as typical to Stripe through the metered usage billing solution
Yup!
Perfect. I think that answers my questions for now! Thanks again for the help :)