websoft
Account Closed
- Impact
- 3
http://www.teatoast.com/PmWiki/TinyTool/TinyTool
What TinyTool Does
TinyTool co-ordinates the activities of PayPal Subscriptions, PayPal Instant Payment Notification (IPN), the CPanel Web Host Manager (WHM), and a MySQL database to securely collect and record new customer information.
TinyTool satisfies the needs of small WebHosts who want to:
* offer instant access to new users
* make their WHM automatically create accounts
* use PayPal Subscriptions to process bankcard payments
* have Paypal manage their customer accounts
* maintain a database of subscribers and payments
* display a welcome page to new subscribers
* email new subscribers with logon and usage instructions
TinyTool uses a single processing file to fully automate new account activation. All your site specific variables are in one configuration file.
The processing program is written to so that it is NOT directly accessible by URL, only by a PayPal IPN. It will use data from the IPN for WHM account creation only after checking the data's veracity against an SQL record.
In an ordinary sales transaction, your website first provides an order form, then passes the customer offsite to PayPal, who then returns the customer to your site. Usually the customer lands on a 'ThankYou' page or on some type of 'Welcome' page.
After you install TinyTool your customers still see the same three steps, but backstage, behind the scenes, TinyTool components answer the IPN, maintain the SQL, and trigger the WHM.
Using two program files and a configuration file, plus some ancillary pages to help educate new subscribers, Tiny Tool fully automates your new-user signup process.
Process.php
The primary program file, called Process.php, accepts customer information posted from an order form. It responds to PayPal's IPN and authenticates the subscription against SQL records. The Process.php module culls spoofs and false signups, and ensures that subscribers are genuine. Once it verifies the legitimacy of a new subscription, Process.php fully fills in the subscriber's SQL record and triggers new account creation in CPanel's WHM.
Order.php
A program called Order.php generates a new subscriber order form, validates the user input, creates a MySQL record for that user, and offers the potential subscriber a recap of their entered information. Once the user approves, the Order.php module passes the user to PayPal to complete their purchase. PayPal collects the subscriber's details which we'll get back (in Process.php) via IPN.
config.php
The config.php contains all the information unique to your particular webhosting enterprise. This is the file you will first want to edit in order to make Tiny Tool work for you. This file defines access variables for your SQL and for WHM. The config file also holds certain default values for PayPal subscriptions and it holds strings that define your specific product offerings. Site appearance is defined in $head and $foot strings in config.php. By far the most important contents of config.php are the subscription variables passed to PayPal and the package names passed to WHM. We'll go into detail later about how to edit these.
IPNlog.sql
This is the series of SQL instructions used to create the MySQL table for Tiny Tool to store transaction and subscriber details. It will set up a table in an existing database if you like. It has been designed to save all of the IPN variables that PayPal will be sending to the Process.php program ... perhaps more detail than you care to keep. Minor changes to the SQL layout shouldn't require code changes in Process.php or Order.php.
Welcome.php
The Welcome page is displayed to each new customer after they finish the PayPal subscription process.The Welcome.php file is HTML code with user-specific details inserted. It is where users re-enter your website after successfully completing the PayPal signup process, so this page is the return URL passed to PayPal.
TOS.htm
We've included a sample of a Terms Of Service page which you may require your new subscribers to read before starting service with you. It is linked to the order form generated by Order.php and there is a check-off required by the new subscriber to make sure they're aware of this page's content.
Hope you guys will enjoy this
What TinyTool Does
TinyTool co-ordinates the activities of PayPal Subscriptions, PayPal Instant Payment Notification (IPN), the CPanel Web Host Manager (WHM), and a MySQL database to securely collect and record new customer information.
TinyTool satisfies the needs of small WebHosts who want to:
* offer instant access to new users
* make their WHM automatically create accounts
* use PayPal Subscriptions to process bankcard payments
* have Paypal manage their customer accounts
* maintain a database of subscribers and payments
* display a welcome page to new subscribers
* email new subscribers with logon and usage instructions
TinyTool uses a single processing file to fully automate new account activation. All your site specific variables are in one configuration file.
The processing program is written to so that it is NOT directly accessible by URL, only by a PayPal IPN. It will use data from the IPN for WHM account creation only after checking the data's veracity against an SQL record.
In an ordinary sales transaction, your website first provides an order form, then passes the customer offsite to PayPal, who then returns the customer to your site. Usually the customer lands on a 'ThankYou' page or on some type of 'Welcome' page.
After you install TinyTool your customers still see the same three steps, but backstage, behind the scenes, TinyTool components answer the IPN, maintain the SQL, and trigger the WHM.
Using two program files and a configuration file, plus some ancillary pages to help educate new subscribers, Tiny Tool fully automates your new-user signup process.
Process.php
The primary program file, called Process.php, accepts customer information posted from an order form. It responds to PayPal's IPN and authenticates the subscription against SQL records. The Process.php module culls spoofs and false signups, and ensures that subscribers are genuine. Once it verifies the legitimacy of a new subscription, Process.php fully fills in the subscriber's SQL record and triggers new account creation in CPanel's WHM.
Order.php
A program called Order.php generates a new subscriber order form, validates the user input, creates a MySQL record for that user, and offers the potential subscriber a recap of their entered information. Once the user approves, the Order.php module passes the user to PayPal to complete their purchase. PayPal collects the subscriber's details which we'll get back (in Process.php) via IPN.
config.php
The config.php contains all the information unique to your particular webhosting enterprise. This is the file you will first want to edit in order to make Tiny Tool work for you. This file defines access variables for your SQL and for WHM. The config file also holds certain default values for PayPal subscriptions and it holds strings that define your specific product offerings. Site appearance is defined in $head and $foot strings in config.php. By far the most important contents of config.php are the subscription variables passed to PayPal and the package names passed to WHM. We'll go into detail later about how to edit these.
IPNlog.sql
This is the series of SQL instructions used to create the MySQL table for Tiny Tool to store transaction and subscriber details. It will set up a table in an existing database if you like. It has been designed to save all of the IPN variables that PayPal will be sending to the Process.php program ... perhaps more detail than you care to keep. Minor changes to the SQL layout shouldn't require code changes in Process.php or Order.php.
Welcome.php
The Welcome page is displayed to each new customer after they finish the PayPal subscription process.The Welcome.php file is HTML code with user-specific details inserted. It is where users re-enter your website after successfully completing the PayPal signup process, so this page is the return URL passed to PayPal.
TOS.htm
We've included a sample of a Terms Of Service page which you may require your new subscribers to read before starting service with you. It is linked to the order form generated by Order.php and there is a check-off required by the new subscriber to make sure they're aware of this page's content.
Hope you guys will enjoy this














