Skip to content

Add buying subscription using in-app points #438

@ArtemLymarenko

Description

@ArtemLymarenko

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.

Metadata

Metadata

Assignees

Labels

BACKENDBackend featureFRONTENDFronted feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions