Skip to content

diyapatel7704/Python_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’³ Online GPay Payment Simulation System (Python, OOPs)

πŸ“Œ Overview

The Online GPay Payment Simulation System is a console-based Python project that replicates core functionalities of Google Pay using Object-Oriented Programming (OOP) principles. It supports user and merchant registration, secure UPI PIN-based transactions, wallet balance management, and transaction history tracking.

πŸš€ Features

User & Merchant Registration with unique phone numbers.

Secure Transactions with UPI PIN verification.

Wallet Management:

Add money

Deduct money

Check balance

Transaction History tracking for each user.

Encapsulation for UPI PIN security.

OOP Design:

Encapsulation (private data members)

Inheritance (Merchant inherits User)

Composition (User HAS-A Wallet)

Polymorphism for flexible transaction handling.

πŸ›  Technologies Used Python 3.x

DateTime module (for transaction timestamps)

Object-Oriented Programming Concepts

πŸ“‚ Project Structure

perl

Copy

Edit

gpay-system/

β”‚

β”œβ”€β”€ gpay_system.py # Main script

β”œβ”€β”€ README.md # Project documentation

βš™οΈ How It Works

Register Users and Merchants.

Add Money to the wallet.

Send Money between users or to merchants.

Verify UPI PIN before processing the payment.

View Transaction History to see past transactions.

πŸ–₯ Sample Output

pgsql

Copy

Edit

User Diya Registered Successfully!

Merchant Rahul Registered Successfully!

β‚Ή5000 added to wallet. Current Balance: β‚Ή5000

Wallet Balance: β‚Ή5000

Wallet Balance: β‚Ή0

Transaction of β‚Ή1500 Successful from Diya to Rahul

---- Transaction History ----

2025-08-04 17:30:45.123456 | Diya sent β‚Ή1500 to Rahul

πŸ“ˆ Future Enhancements

Bank account linking for wallet recharge.

QR code-based payment system.

Interest on wallet balance.

Multi-factor authentication.

πŸ‘©β€πŸ’» Author Diya Patel – GitHub Profile | LinkedIn

If you want, I can also make a professional GitHub repo for this with separate files (models.py, main.py) so it looks like a real-world structured project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published