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?


4 Posts   2511 Views


23 September 2010 at 12:13pm Community Member, 3 Posts


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?



23 September 2010 at 8:50pm Forum Moderator, 5511 Posts

No public available module for such a thing but it has been done and our SaaS application 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 with the payments 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


24 September 2010 at 3:08am Community Member, 3 Posts

Thanks for the input!


7 October 2010 at 9:33am Forum Moderator, 51 Posts

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.