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

Add buying subscription using in-app points #438

Open
ArtemLymarenko opened this issue Mar 15, 2024 · 0 comments
Open

Add buying subscription using in-app points #438

ArtemLymarenko opened this issue Mar 15, 2024 · 0 comments
Assignees
Labels
BACKEND Backend feature FRONTEND Fronted feature

Comments

@ArtemLymarenko
Copy link
Collaborator

Let's make it more readable:

We need to enable users to purchase a subscription using in-app points, (price basic - 500 points, pro - 1000points).

  1. Expand the subscription service to include the option to purchase using points.
    - Utilize trial periods on Stripe (refer to Stripe documentation) to set up a one-month trial subscription. Add the function of updating to trialing in stripe service
    * The update webhook should automatically change the subscription status to 'trailing.'

  2. On the frontend, add buttons for purchasing a subscription and display the user's status as 'Active (Purchased by Points)' instead of 'Trialing'. Or something like that.

  3. In the database of user bonuses add a new type of transaction and specify number of points for each type of subscription. Check if user has enough of balance to complete the transaction.

@ArtemLymarenko ArtemLymarenko added BACKEND Backend feature FRONTEND Fronted feature labels Mar 15, 2024
@ArtemLymarenko ArtemLymarenko added this to the Release 5.0.0 milestone Mar 15, 2024
@ArtemLymarenko ArtemLymarenko changed the title Add buying subscription by app points Add buying subscription using in-app points Mar 15, 2024
@nikita-remeslov nikita-remeslov removed this from the Release 5.0.0 milestone Mar 19, 2024
@DavidCharif DavidCharif self-assigned this Mar 19, 2024
@DavidCharif DavidCharif linked a pull request Mar 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BACKEND Backend feature FRONTEND Fronted feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants