My magento site will have membership,where user will by a contract for like 1 year or 6 months,and after that they have to renew every 6 months or 1 year.
closed as primarily opinion-based by SR_Magento, Amit Bera♦, 7ochem, Marius♦ Mar 17 '15 at 12:18
Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.
Magento offers recurring profiles. You can read more about that here. This will require the client to pay regular invoices.
To automate the process of having a member you can probably write an extension that uses a cronjob to check if the invoice was payed, if not inactivate the customer. Otherwise you'll have to check manually.