Closed yenicelik closed 1 year ago
I think the current solution is good, where we have two different counters for balance: one for when the user exceeds his balance (thus is eating up the free tier), and one that counts when the balance is non-zero (thus the downgrade-tier is not touched).
I will close this issue because of this, please re-open it if you think a different solution is required
just had an idea. we should only add to the user’s costs (and/or subtract from their balance) if the user’s tier has downgrade_tier_id set. if they don’t have a downgrade tier, then we want to just leave their balance alone.