Skip to content
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

[1][Medium][App] When a user subscribes, reset their usage quota #1

Open
nang-dev opened this issue Sep 13, 2024 · 1 comment
Open
Assignees

Comments

@nang-dev
Copy link

nang-dev commented Sep 13, 2024

Currently when a user subscribes and converts from free trial, their free trial used credits is still counted in their new subscribed plan. We should change it so that their credits reset to 0. This will involve Redis (their quota count is stored there).

We should gather some analytics as part of this reset process:
Data to store at the moment when they switch from free trial to Pro. This will help us gather analytics such as number of conversions, or when do users switch from free trial to Pro.

  • Number of requests used
  • PearAI credits used
@Fryingpannn Fryingpannn transferred this issue from another repository Sep 13, 2024
@Fryingpannn Fryingpannn changed the title [1][Easy][App] When a user subscribes, reset their usage quota [1][Medium][App] When a user subscribes, reset their usage quota Sep 13, 2024
@Fryingpannn
Copy link
Contributor

@spaceonyx yo are u still working on this 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants