This project implements a web payment gateway using HTML, CSS, and JavaScript for the frontend, along with Node.js for integration with a payment API.
- Attractive and responsive user interface.
- Integration with a payment API.
- Secure transaction handling.
- Data validation on both frontend and backend.
- Use of Ngrok to simulate an SSL certificate.
- HTML5
- CSS3
- JavaScript
- Node.js
- Payment API (MercadoPago)
Make sure you have installed:
- Clone this repository:
git clone https://github.com/your-username/web-payment-gateway.git cd web-payment-gateway
- Install the dependencies:
npm install
- Configure the environment variables in a
.env
file:MERCADOPAGO_API_KEY=your_api_key
- Start the server:
npm start
- In another terminal, start Ngrok to expose the server with HTTPS:
ngrok http 3000