Skip to content

Bereky/chapa-payment-express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chapa Payment Integration

This is Unofficial implementation of payment with Chapa API using expressjs

Getting started

To get the Node server running locally:

  • Clone this repo
  • npm install to install all required dependencies
  • npm run dev to start the local server
  • https://localhost:4400 go to this URL after the server starts running

Code Overview

Dependencies

  • expressjs - The server for handeling and routing HTTP requests
  • axios - The Promise based HTTP client
  • ejs - The view engine or the front end of our app

Application structure

  • index.js - The entry point to our application
  • views/ - This folder contains our front end

Running phase and requirements

In order to make a test transaction

  • Go to Chapa and register
  • After registration go to setting > API and get your SECRET-KEY
  • Paste the KEY in the proper section inside index.js
  • Also get a Testing card from Chapa Here
  • Now you are good to go

About

Express.js Boilerplate for Chapa Payment Gateway

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published