Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Payments and Payment Gateway / APIs /

This is a forum for discussing SilverStripe can-do payments and their APIs / Gateways.

Moderators: martimiz, Sean, Normann, biapar, Willr, Ingo, swaiba, simon_w

Paid Membership?


Reply


4 Posts   2569 Views

Avatar
relish27

Community Member, 3 Posts

23 September 2010 at 12:13pm

Hello,

I am considering SS for a website in which members can log into a certain area -- if they pay their yearly dues. Is there anything built into SS or a known module that could handle this? If not, do you think SS could still handle it with some custom development?

Thanks.

Avatar
Willr

Forum Moderator, 5513 Posts

23 September 2010 at 8:50pm

No public available module for such a thing but it has been done http://www.salehoo.com and our SaaS application Dawn (http://silverstripe.com/dawn) does access based on whether you have paid your bills. Most of the code isn't in a nice easy to use module, you will have to assemble some components yourself.

A overview of one way you can do it is to tie up a member registration module such as http://github.com/ajshort/silverstripe-memberprofiles with the payments module http://silverstripe.org/payment-module and when a user visits that particular page you can do a database query to check if they have paid their dues, if they have they can view it, if they have not redirect them to the payment page.

Of course thats a very simplified version but just the general idea. Member Profile module might be too much so you could make your own form in that case. I decent level of PHP knowledge would be required! Good luck

Avatar
relish27

Community Member, 3 Posts

24 September 2010 at 3:08am

Thanks for the input!

Avatar
frankmullenger

Forum Moderator, 53 Posts

7 October 2010 at 9:33am

The payment-test module, that is an example of how to use the payment module, does actually register members on the fly when they buy one of the products and email them - I was thinking about doing a paid membership by updating the member row with some additional data about when they registered and depending on what package they bought when their membership would expire.

There are some functions in the payment-test module to support recurring payments with DPS as well but the example in the payment-test module is just for processing one off payments.