Skip to content

A project on how to integrate a payment gateway in a web application. This uses Paystack as it's payment gateway. No real transaction is made. It is just an example project.

Notifications You must be signed in to change notification settings

emma50/online_payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Payment

is a demo or example project on how to integrate a payment gateway in a web application.
This uses Paystack as it's payment gateway.
No real transaction is made. It is just an example project.


Technologies

Online Payment was developed with JavaScript (ES6), Node.js using Express 4.
with Airbnb JavaScript Style Guide and EJS


API Information

API endpoints URL - http://localhost:3000/

METHOD DESCRIPTION ENDPOINT
GET Get home page
GET GET Donation form pay
POST POST Donation form paystack/pay
GET Only loads when error occurs error
GET Get a Donor specific data receipt/:donorId
GET Get Paystack callback url paystack/callback

Running Locally

Make sure you have Node.js 12.14.1 installed and POSTMAN.

git clone https://github.com/emma50/online_payment.git
cd online_payment
npm install
npm start

Online Payment should now be running on localhost:3000.


Author

Okwuidegbe Emmanuel Ikechukwu

About

A project on how to integrate a payment gateway in a web application. This uses Paystack as it's payment gateway. No real transaction is made. It is just an example project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published