PHP-SecureArea

Testing

Testing ....

This page describes how to check that customers are able to make online subscriptions through the system.

There are two methods to test the system :

  • Use a second account to purchase a product. This is the recommended method to test the installation.

    The simplest method is to buy a subscription from another PayPal account. You cannot purchase from yourself, so you need to use a friends account, or set up another account. Once you have made the payment and checked that everything has worked, you can reverse the payment.

    This is a full test on the live system, and you should set up a special subscription with a low value such as $0.01 which runs with a period of, say, 3 days for 3 installments.

    If you use a subscription of 3 days for 3 installments you will receive an email each time a payment is made. At the end of the subscription access to the secure area will be ended. This will demonstrate most of the situations which will occur.

    At each stage of the subscription process, check that the purchaser can access the secure area by logging in. Also, change the purchaser's password and check that the purchaser can still access the secure area.

    Note that if you purchase a subscription, test that it has worked and then cancel the subscription, you will receive a subscription end of term for that user when the subscription current period expires which may be a number of days later after you cancelled. Currently, the application will cancel access to the secure area as soon as the person cancels their subscription.

    Once you have run through all the above tests, you can be confident that your installation is correct and PayPal is controlling your subscriptions.

  • Use my local test IPN page

    I have built in a 'local' ipn test page from where you can test the basic operation of the system but without going through PayPal. When you use this method, the script does not wait for the IPN result to be returned from PayPal but always sets the various variables as though it has come through PayPal.

    You can test all aspects of the system, the emails, the updating of the database with sales information, logging in to the secure area and so on, but it does not test the exchange of IPN data to and from the PayPal site.

    Subscription Signup

    In this system, subscription signup has no effect and this test does nothing. A successful subscription payment IPN controls the sign up which is received when a sign up is made.

    Subscription Cancel

    This will cancel access to the secure area for the user which simulates teh subscription cancel IPN from PayPal.

    Subscription Failed

    This removes the password to the secure area for this user, so the password state is disabled. The user will not be able to login to the secure area

    Subscription Payment

    A payment is made which will appear in the transaction list. It will also allow the customer to log into the secure area.

    Subscription eot

    The password is disabled to the secure area for this user and the end of term flag is set to show that the end of term has been reached.

    Subscription Modify

    This is not used in this system.

    Web Accept, Cart, Send Money

    These are included for completeness but have no function in this application.

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.