unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
3.99k stars 467 forks source link

Outdated pricing defaults #1508

Closed ubinatus closed 6 months ago

ubinatus commented 6 months ago

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

There are 3 issues related to the latest pricing change:

  1. The free plan max quota is still hard-capping 100 active keys as limit instead of 1k
  2. In the Billing section, the plan features shown are outdated
  3. New pro plans are created with an outdated verification pricing tier, which will result in not invoicing them according to the current pricing.

Steps to Reproduce

For the first issue:

  1. In a free workspace try to create 101 api keys. Just override the tinybird stats for the free plan.
  2. You will see that the max quota banner is shown. (The actual free pricing max quota for active keys is 1k).

For the second issue:

If you head to the Billing section in a workspace with a free/pro plan you will see the outdated features:

image image

For the third issue:

  1. In a free workspace try to make 150k verifications. Just override the tinybird stats.
  2. Run an invoicing job.
  3. The invoice will create an additional charge because the current workspace.subscriptions.verifications has the first tier linked to 100k instead of 150k.

Expected behavior

The expected behaviour is that all pricing reflects what is shown on the landing pricing page.

Other information

No response

Screenshots

No response

Version info

- OS: Atari TOS
- Node: v20.11.1
- npm: v10.2.4
linear[bot] commented 6 months ago

ENG-989 Outdated free plan max quota

ubinatus commented 6 months ago

Hmm. Would say resolving the third issue will involve updating all the current PRO subscription to have the latest default tiers. (Unless, the pricing is the one incorrect)