Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

Create account levels and tie to payment system #27

Open
ephracis opened this issue Sep 4, 2016 · 0 comments
Open

Create account levels and tie to payment system #27

ephracis opened this issue Sep 4, 2016 · 0 comments

Comments

@ephracis
Copy link
Owner

ephracis commented Sep 4, 2016

Add the methods user.free?, user.standard? and user.premium? and tie it into a payment system.

Paypal has a subscription system we can use, but there may be other alternatives we should investigate as well.

The User model should track when the last payment was made, and the amount. Then the different methods should use that info to determine whether the account is on the given level. For example premium? should check if the last payment was less then a month ago and if the amount was more than $100.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant