https://github.com/n4vrl0s3/payment-gateway-website
Simple Payment Gateway Website
https://github.com/n4vrl0s3/payment-gateway-website
midtrans midtrans-php midtrans-snap
Last synced: 8 months ago
JSON representation
Simple Payment Gateway Website
- Host: GitHub
- URL: https://github.com/n4vrl0s3/payment-gateway-website
- Owner: n4vrl0s3
- License: apache-2.0
- Created: 2024-12-16T03:32:33.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-06T08:22:34.000Z (11 months ago)
- Last Synced: 2025-03-28T07:01:56.095Z (9 months ago)
- Topics: midtrans, midtrans-php, midtrans-snap
- Language: PHP
- Homepage: https://simple-payment-gateaway.guanshiyinnn.com/
- Size: 7.24 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Payment Gateway Website
This repository serves as a foundation for building a secure and efficient payment gateway website.
## Purpose of This Repository
This repository contains the source code for a payment gateway website. The project demonstrates fundamental principles of secure online transactions and provides a solid foundation for further exploration of payment gateway integrations.
## Demonstration
Check out the live demo of the Payment Gateway Website [here](https://simple-payment-gateaway.guanshiyinnn.com/).
### Program Function Demonstration
Here is a demonstration of the basic payment processing function:
```javascript
// filepath: /opt/lampp/htdocs/Payment-Gateway-Website/src/paymentProcessor.js
function processPayment(amount, paymentMethod) {
// ...existing code...
if (paymentMethod === "creditCard") {
// Process credit card payment
} else if (paymentMethod === "paypal") {
// Process PayPal payment
}
// ...existing code...
return paymentStatus;
}
```
## Features
- Secure payment processing
- Multiple payment methods (credit card, PayPal, etc.)
- User-friendly interface
- Real-time transaction updates
## Technologies Used
- HTML5
- CSS3
- JavaScript
## Project Setup
1. **Install XAMPP**
2. **Clone this repository**
```bash
git clone https://github.com/guanshiyin28/Payment-Gateway-Website.git
```
3. **Direct to directory**
```bash
cd Payment-Gateway-Website
```
4. **Move the project to the XAMPP htdocs directory**
```bash
mv Payment-Gateway-Website /opt/lampp/htdocs/
```
## Steps to Run
1. **Start the Apache server in XAMPP**
2. **Open your web browser and navigate to**
```bash
http://localhost/Payment-Gateway-Website
```
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.