home ] [ sell downloads with paypal ] [ secure your site with paypal ] [ sell licence codes ] [ register users ] [ site map creator ]
flash mp3 buttons ] [ blog ] [ newsletter ] [ Server Controls ]

PHP-SecureArea - secure area premium subscription management

paypal ipn premium subscription management

Bookmark this site
PHP-SecureArea

documentation :

Find out more

Pricing :
PHP-SecureArea costs $65 U.S. Dollars. Click here to go to the purchase page for further details.

Demo : To view an on-line demo illustrating the admin pages, click here.
You may also buy a 3-days subscription for $0.01 to a test area to see how the system works.

Enquiries : If you have any questions about the product, go to the contacts page by clicking here.

Creating protected areas ....

This assumes that you have followed the installation instructions and have completed the 'Site Setup' page in the administration pages.

Creating your subscription buttons

This method enables you to add a button or buttons anywhere to an existing web page. The web page can be of php extension or an ordinary htm page.

To create a button, go to the 'Product List' page. Against each product is a 'button' link which takes takes you to a button generator page where you can copy the text and paste it on to your web page.

<form action="http://www.yourservername/phpsecurearea/ipn/process.php" method="post">
<input type="hidden" name="item_number" value="item1">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
The fields that you enter to create the button are :

When the purchaser clicks on the button, the php script will extract all the relevant data from the database and post it to the PayPal server.

The advantage with this method is that any changes you make to the item in the administration pages, such as a different regular billing cost or a different unit length, will automatically be picked up when the button is clicked.

If this were created in the normal way using the PayPal button generating system it would look something like this :

<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="me@mybusiness.com">
<input type="hidden" name="cancel_return" value="htp://www.servername.com/cancel_return.htm">
<input type="hidden" name="return" value="htp://www.servername.com/return.htm">
<input type='hidden' name='item_name' value='test'>
<input type='hidden' name='item_number' value='item'>
<input type='hidden' name='currency_code' value='EUR'>

<input type='hidden' name='a3' value='10.00'>
<input type='hidden' name='p3' value='4'>
<input type='hidden' name='t3' value='W'>

<input type='hidden' name='src' value='1'>
<input type='hidden' name='sra' value='1'>

<input type='hidden' name='srt' value='5'>

<input type='hidden' name='bn' value='Elmwood.PHPSecureArea'>
<input type='hidden' name='no_shipping' value='1'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='modify' value='0'>

<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but24.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

Subscription Links

Instead of creating a button you may also use an http link which could be used in emails.

The link is of the form http://www.servername.com/phpsecurearea/ipn/process.php?item_number=xxxx

The above assumes that the application is installed in the folder /phpsecurearea/. The item number of the product is placed at xxxx