hyperlog-core / hyperlog-backend

Backend for hyperlog
0 stars 0 forks source link

Add membership support #56

Open BrainBuzzer opened 4 years ago

BrainBuzzer commented 4 years ago

Since the platform will have the option to subscribe to a particular plan, we need to add the memberships. There are going to be 2 different subscription options for now. One will be free, another will be paid. In paid subscriptions, there will be monthly and annual subscription plans.

We will use Stripe for payments. I think there is already available logic for memberships in Stripe called Billing. Need to research about this first. Post your rough idea of how this can/should be implemented here, and we'll move along this.

PS. Need to launch this for beta testing for some early registrations on 1 July, so next week is gonna be a rough ride.

nikochiko commented 4 years ago

I did some research. There's a few things we need to do. The big picture:

Implementing:

There will also be a subscription model which can be accessed from customer model.

Reference: https://stripe.com/docs/billing/subscriptions/fixed-price

BrainBuzzer commented 4 years ago

Okay, so you move along with implementing the backend functionalities for this. I'll jump on the frontend implementation in 2 days right after I'm finished with core CLI functionality.

BrainBuzzer commented 4 years ago

Any status on this?

nikochiko commented 4 years ago

I've added the changes so far in this referenced PR. It will be completed today