CodeCanyon Paypal Trial and Subscription 138930

CodeCanyon Paypal Trial and Subscription 138930

CodeCanyon Paypal Trial and Subscription 138930
PHP Script \ Form
Paypal \ Payment \ Button \ Online \ Payments

PHP Script - Paypal Trial and Subscription 138930 by grant38 @ CodeCanyon

PHP Script \ Form

Last Update: 14 January 11; Compatible Browsers: IE7, IE8, Safari 4, Safari 5; Software Version: PHP 5.0 - 5.2, MySQL 5.x; Files Included: HTML, CSS, PHP, Layered PSD.

The Paypal Trial and Subscription script is a PHP Paypal Payment API which allows you to setup a paypal subscription service for an item you have for sale on your website that is “information” based and doesn’t require shipping e.g. tutorial videos, ebooks etc. It is flexible enough to allow you to set a trial price, a trial duration in “months” and a regular selling price and billing cycle thereafter.

The script follows a two stage process.

1. The User submits their details via the paypal_subscription.html page. The details are then processed via the register.php script and written to the “Users” table of the MySQL db. The Paypal form is submitted.

2. The ipn.php script processes the Paypal payment details and, if successful, redirects the user to a thank_you.html page and updates the “Users” table to reflect a successful payment by setting the ‘Paid’ field to 1 and writing the Paypal Transaction ID and registration date.


For the demo you will need a Paypal Sandbox Account. You can sign up for one at.

You can then create a test personal account within the Sandbox which can be used to simulate a purchase.

Update (13/01/2011) – Version 1.5

Added login.php file to validate users who have completed a successful subscription transaction.

Added a template (welcome.php) which can be used to display protected content. This content can only be accessed by paid subscribers.

Amended paypal_subscription.html file to properly validate Username, password and email fields. Also renamed the file to paypal_subscription.php.

Update regarding the demo site – 11/04/2012

Please note : The demo site is currently offline. I am moving all my script material to a new domain but as I work full time now and long hours it is not easy to find the time to arrange this so please bear with me and my apologies for the inconvenience but I will get to it as soon as I can.

Keywords: online payments, paypal, paypal button, paypal ipn, paypal payment.

Tags: Paypal, Button, Payment, Payments, Online, Trial

Premium CodeCanyon Paypal Trial and Subscription 138930 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon Paypal Trial and Subscription 138930 for digital design and education. CodeCanyon Paypal Trial and Subscription 138930 desigen style information or anything related.


Add Comments:
Enter Code: *