Skip to main content

Online Payment Hub using PHP and PayPal Free Source Code



This is an Online Payment Hub in PHP and MySQL Database. This project is a simple PHP Project that provides an online platform for individuals to pay their bills, loans, or etc. This is a web-based application integrated with PayPal as the payment gateway. This has a simple dark mode user interface and user-friendly functionalities.

About the Online Payment Hub

I developed this project using the following:

  • XAMPP v3.3.0 as my local webserver that has a PHP Version 8.0.7
  • PHP Language
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • jQuery
  • Ajax
  • Bootstrap
  • AdminLTE
  • PayPal Object
  • and some other plugins/libraries.

This Online Payment Hub project has 2 modules which are the Admin and Clients. The Admin module is the side of the system in which the business management can manage all the important lists and records in the system such as the list of partner companies and clients' transaction records. The Client Module is the side of the system for the public where can users can register their own account, pay bills, and list their payment transaction records. This system also generates a date-wise printable transaction report at the admin side.


Admin Side

  • Secure Login and Logout
  • Manage Company List (CRUD)
  • Manage Service Fee Table (CRUD)
  • View Client List
  • Delete Client from List
  • View Client Details
  • View Transaction List
  • Delete Transaction from List
  • View Transaction Details
  • Generate Printable Date-wise Transaction Report
  • Manage Users list (CRUD)
  • Manage Account Details/Credentials
  • Manage System Information


  • Secure Login and Registration
  • Home Page
    • Display Welcome Message
    • Display List of Partners
  • List All Payment Transactions Made
  • Pay Bills, loans, or etc.
  • Update Account Information/Credentials
  • Read About Us Content
  • Logout

System Snapshots of some Features

Default Website Page

Online Payment Hub

Client's Transaction List Page

Online Payment Hub

Transaction Form Modal Step 1

Online Payment Hub

Transaction Form Modal Step 2

Online Payment Hub

Transaction Details Modal

Online Payment Hub

Admin Panel

Online Payment Hub

Transaction Report Page (Admin Side Only)

Online Payment Hub

How to Run ??


  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)


  1. Open your XAMPP/WAMP's Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming oph_db.
  6. Import the provided SQL file. The file is known as oph_db.sql located inside the database folder.
  7. Browse the Online Payment Hub in a browser. i.e. http://localhost/oph/ for the users side and http://localhost/oph/admin for the admin side.

Default Admin Access Information

Username: admin
Password: admin123


That's it. You can now explore the features and functionalities of this Online Payment Hub in PHP. I hope this project will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Add new comment