Building a user subscription application
Posted
by Tristan O'Neil
on Stack Overflow
See other posts from Stack Overflow
or by Tristan O'Neil
Published on 2010-04-20T20:31:50Z
Indexed on
2010/04/20
20:33 UTC
Read the original article
Hit count: 193
Hello,
I'm trying to come up with the best way to handle user subscription and management for our magazine website. What I want to happen is a user purchases a subscription and they are granted online access of a certain membership role for a certain amount of time depending on how many years they subscribed for. I would also like the system to be able to send out emails when a subscription is almost up.
I've seen some third party projects to help accomplish this but I'd prefer to write this from scratch as I want total control over how it works.
Any suggestions would be helpful.
The main thing I can't figure out is how to have an expiring membership. You must keep track of when the user signed up and how long until they should expire.
© Stack Overflow or respective owner