24 November 2011 at 12:28pm
Hi. I'm creating a site on which members can subscribe to a service on a weekly basis. The idea is that once their week is up they need to pay another subscription to maintain full access to the site (btw, this is a completely legit service, not Porn - just in case anybody was wondering?!).
Is there a SilverStripe module for this? Has anybody done this sort of thing in a SilverStripe site?
28 November 2011 at 7:16pm
This is what I would do
1. create a standard product
2. create a data object that stores (a) member (link to order) (b) time product bought (link to order(item)) (c) product. THis data object then becomes the central manager for access. Everytime the member tries to access the premium content, it firstly checks with this Data Object.
3. Create a task to send out reminders about expiring access. This task could also pre-create the order for them so everything is setup for the customer to pay.
Those are just my initial thoughts. You can look at the repeating order module for lots of code around repeating orders.
If you are writing this module then you are super welcome to add it to the e-commerce module, as it would be a welcome addition.