-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[UBP] Free tier Balance Used and Usage page do not show correct credits used #14363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Related to #14367 |
I think the idea here was instead of retrieving the limit value, make sure that the selected time range matches what we expect from the Billing page. 🤔 |
Steps to tackle this:
|
The StripeSubscription will only contain details if there's a Stripe subscription - free tier doesn't have a subscription. It seems like we need the CostCenter for this. However, currently Stripe doens't set the NextBillingTime for that. We could have it set the NextBillingTime |
Uh oh!
There was an error while loading. Please reload this page.
The personal and team billing pages both show a progress indicator for "Balance Used" with actual usage against the usage limit.
The usage detail page (for individuals and teams) both show a similar total credits used for the current period.
These indicators should derive their "credits used" value from credits used since the last invoice/reset, instead of assuming a calendar billing cycle.
The calculation should mirror the logic used to compute "credits used" to show the usage limit 80% or limit exceeded notifications and prevent workspace starts.
The text was updated successfully, but these errors were encountered: