Jump to:

113 Posts in 154 Topics by 53 members

Payments and Payment Gateway / APIs

SilverStripe Forums » Payments and Payment Gateway / APIs » Paid Membership?

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

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

Page: 1
Go to End
Author Topic: 2266 Views
  • relish27
    Avatar
    Community Member
    3 Posts

    Paid Membership? Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Paid Membership? Link to this post

    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

  • relish27
    Avatar
    Community Member
    3 Posts

    Re: Paid Membership? Link to this post

    Thanks for the input!

  • frankmullenger
    Avatar
    Forum Moderator
    51 Posts

    Re: Paid Membership? Link to this post

    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.

    2266 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.