I’m looking for a membership functionality to be added to my website. Currently manufacturers can create an account and upload their products to the website. On the website their products are shown as well as the companies name. Clicking on the product leads to a detail page where the company name is shown also. Besides the list with products there is also a list with manufacturers.
I want to implement a membership functionality where the manufacturers have to pay an annual fee using PayPal. When they have paid their annual fee all the manufacturers details will be shown on all pages (listed and detailed below). When they do not pay their details should not be visible on the website, but their products must still be visible. This is quite important.
The manufacturers should be able to pay using the paypal “pay now” or “subscribe” button from within their account. The whole process must be automated of course: when a manufacturer has paid the status of the manufacturer should automatically be updated and all the information of the company must be visible on the pages mentioned below.
The pages where the manufacturer’s details must not be shown when the company has not paid the annual fee (or where the manufacturer’s details must be shown when he did pay of course):
- index.php below the turbine name is the name of the manufacturer, this manufacturer name should only appear when the manufacturer has paid for the annual fee
- list_turbines.php below the turbine name is the name of the manufacturer, this manufacturer name should only appear when the manufacturer has paid for the annual fee
- manufacturers.php the name of the manufacturer should only appear in this list if the company has paid the annual fee
- turbine_detail.php on the right side of this page (this is actually an included page: right_menu.php) the complete block “Contact data” should not appear if the manufacturer has not paid for the annual fee. In its place the banner (currently “ Urban Green Energy”) should appear. The “Turbines of the same company” block should always appear, independent of the status of the company (did or did not pay the annual fee).