About

This PHP script allows you to accept one time payments as well as recurring payments (subscriptions). Payments are processed through PayPal Standard. There is also a secure admin page where you can view and manage all of your payments, subscriptions, items, invoices, settings, etc.

Date Created: February 18th, 2015
Last Updated: June 29th, 2016
Version: 1.3
Author: Devin Lewis (www.devinlewis.com)

Heads Up!

If you find a bug or if you run into any issues, please contact me and let me know about it so I can take care of it for you. Also, if you are thinking about leaving a bad review or negative feedback, I'd really, really appreciate it if you'd contact me first and give me the chance to make things right for you. My number one goal is to have happy customers who are 100% satisfied. :)

Quick Start Guide:
  1. Unzip the file that you downloaded from CodeCanyon.
  2. Edit the /paypal-advanced-payment-terminal/lib/config.php file with your own values.
  3. Upload the entire contents of the /paypal-advanced-payment-terminal/ directory to your server.
  4. Visit your uploaded site in a browser and click on the "Install Application" button.
  5. Login to the admin page (admin.php) to set your PayPal account email and the required settings.
  6. You're now ready to accept online payments!

Requirements

  1. PHP 5.2 or higher
  2. MySQL Database
  3. cURL must be enabled (This is most likely already enabled on your server, but you can contact your hosting provider if you are unsure)
  4. PDO must be enabled (This is most likely already enabled on your server, but you can contact your hosting provider if you are unsure)
  5. PayPal account

Support

To contact me or receive support for this item, you can email me personally at devinlewis@gmail.com. Please allow up to 2 business days for a response (although I will generally get back to you within 12-24 hours, except on weekends).


Support for my items includes:

  • Responding to questions or problems regarding the item and its features.
  • Fixing bugs and reported issues.
  • Providing updates to ensure compatibility with new software versions.

Item support does not include:

  • Customization services
  • Support for third party software and plug-ins


Installation

  1. Extract the contents of the zip file that you downloaded from CodeCanyon.
  2. Open the /paypal-advanced-payment-terminal/lib/config.php file and edit the following values:
    • admin_username (the username you want to use to access the admin page)
    • admin_password (the password you want to use to access the admin page)
    • db_host (your database host value, usually localhost)
    • db_username (your database username)
    • db_password (your database password)
    • db_name (your database name)
  3. Save the config.php file and upload the contents of the /paypal-advanced-payment-terminal/ folder to your server.
  4. Visit your newly uploaded site in a web browser (e.g. www.yourdomain.com/path/to/install/)
  5. You should be shown the installation page. Simply click on the "Install Application" button to complete the installation.
  6. After completing installation, you need to access the admin page (admin.php) to set your PayPal email and also configure the terminal settings.

Configuration

  1. After completing installation, login to the admin page (admin.php).
  2. Click on the "Settings" tab to view all of the various settings that are available.
  3. You will need to enter you PayPal email address before you can accept PayPal Standard payments.

Within the admin area, you can view and manage your payments, subscriptions, invoices, items and settings. For all of the different settings available, there is some help text right underneath each input field that exlains what the setting does.


Subscription Settings

On the admin settings page, you can set your subscription/recurring payment settings by clicking on the "Subscription Settings" tab.


Production vs Sandbox

When first setting up the payment terminal, it is recommended that you set the PayPal environment to sandbox mode. After you have done some testing and verified that everything is working properly, you can switch the environment over to production. Once in production, you are ready to accept live payments through PayPal.


Changelog

v1.3 - June 29th, 2016

  • Implemented CSRF protection to prevent unauthorized requests
  • Minor bug fixes

v1.2 - August 27th, 2015

  • Minor bug fix

v1.1 - July 6th, 2015

  • Minor bug fixes

v1.0 - February 18th, 2015

  • Initial release