e107inc / vstore

Simple shopping cart system for e107 v2.x Bootstrap CMS
GNU General Public License v3.0
17 stars 12 forks source link

Monthly subscription #45

Open LaocheXe opened 6 years ago

LaocheXe commented 6 years ago

I'm looking at this, ant can't see if this vstore has a monthly subscription in it, or what all it has. Can we get a FAQ section in the github wiki section??

Also, the pay userclass, does it swing both ways? Meaning if there is a monthly subscription set up, if a user stops paying, do they get removed from that userclass?

SimSync commented 6 years ago

As far as I know it, there is no monthly subscription implemented. And automatically removing a purchased userclass is not so easy in my opinion, as this userclass might be manually assigned to the customer without using vstore. Currently there is also no way to define the "runtime" of a userclass, so you can't check if the runtime is expired and remove the userclass through a cron job.

LaocheXe commented 6 years ago

Well lets point out that you can use e107 to check for updates daily, you can use the same method for subs, if they are no longer subscribe, and if their time is up, run code to remove from userclass. As for manually assigning users to the userclass, yes the code would not remove them, if the admin set up vstore, then it should only work on people who made a purchase from the vstore.

For example, selling digital goods, lets say a theme package, a user purchased the package and is given the userclass which allows them to download the themes in the downloads section. Same concept for subscriber, just they make monthly payments to be apart of that userclass. If this plugin can provide it, then I don't see why an admin would have to manually add a user to a userclass when vstore should handle it.

It can be done, just need to implement it for e107 use, like Paid Memberships Pro, plugin for Wordpress... Gotta give people reason to use e107 and the other plugins as well, start looking at other plugins from other CMS's.

SimSync commented 6 years ago

I know what you would like to have and i have a similar demand for that feature. @CaMer0n It would be great to flag this issue as enhancement. At some point, this is maybe something i'm going to tackle.

Moc commented 6 years ago

Changed issue title. Wiki will be added at later stage closer to release, although a list with currrently supported features could be interesting.