This repository contains a simple website with payment gateway integration. The website allows users to make donations by selecting the payment amount and method. Once the payment is completed, an invoice is generated, and an email is sent to the user confirming the payment.
- Simple and intuitive user interface
- Donate button on the homepage
- Payment page with options to select the payment amount and method
- Integration with popular payment gateways, such as credit card and PayPal
- Generation of invoice after successful payment
- Email notification with payment details sent to the user
To get started with this project, follow the instructions below:
- Web browser
- Git (optional)
-
Clone the repository to your local machine using the following command:
git clone https://github.com/your-username/payment-gateway.git
Alternatively, you can download the repository as a ZIP file and extract it.
-
Open the index.html file in your preferred web browser.
-
Open the website by running the index.html file in your web browser.
-
On the homepage, click on the "Donate" button.
-
You will be redirected to the payment page, where you can select the amount to be paid and the payment method (e.g., credit card, PayPal, etc.).
-
Complete the payment process using the selected payment method.
-
After a successful payment, an invoice will be generated, and an email will be sent to the user's registered email address with the payment details.
For testing purposes, temporary/sandbox accounts have been created with third-party payment gateways. You can use the following credentials to simulate payment transactions:
- Credit Card:
- Card Number: 4242 4242 4242 4242
- Expiry Date: Any future date
- CVV: Any three-digit number
- PayPal:
- Username: test@example.com
- Password: password123
Please note that these accounts are only for testing and should not be used for real transactions.
The website is hosted using a free hosting provider, O0Owebhost. You can access the website using the following URL: https://your-username.o0owebhostapp.com.
If you would like to contribute to this project or make modifications, feel free to fork the repository and create a pull request with your changes. You can use GitLab for version control.
This project is licensed under the MIT License.
- O0Owebhost - Free hosting provider used to host the website
- Payment Gateway API - Documentation for the payment gateway integration
Thank you for using our payment gateway integration. If you have any questions or feedback, please don't hesitate to reach out to us.