All Projects → adityaraval → paytm-integration-nodejs-express

adityaraval / paytm-integration-nodejs-express

Licence: MIT license
Paytm Payment Gateway Integration With NodeJS & Express

Programming Languages

javascript
184084 projects - #8 most used programming language
EJS
674 projects

Projects that are alternatives of or similar to paytm-integration-nodejs-express

Food-Ordering-Application-with-Review-Analyzer
A food ordering android application with feedback analyzer to improve food suggestions to customer.
Stars: ✭ 67 (+34%)
Mutual labels:  paytm

Paytm Payment Gateway Integration With NodeJS & Express

Simple explanatory way to use Paytm Payment Integration with NodeJS with Express with minimal dependancies.

Node Packages Used

  • [ejs] - HTML Templating Engine!
  • [express] - Http web server!
  • [CORS] - CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options..
  • [dotenv] - Environment config!
  • [shortid] - generate unique short IDs
  • [body-parser] - Express Middleware..

ENV Setup

Create .env file as below.

MID=**MID Given By Paytm Staging Credentials**
PAYTM_MERCHANT_KEY=**PAYTM_MERCHANT_KEY Given By Paytm Staging Credentials**
WEBSITE=WEBSTAGING
CHANNEL_ID=WEB
INDUSTRY_TYPE_ID=Retail
PAYTM_FINAL_URL=https://securegw-stage.paytm.in/theia/processTransaction
CALLBACK_URL=http://localhost:4000/paywithpaytmresponse
PORT=4000

Installation

Install the dependencies and devDependencies and start the server.

$ cd paytm-integration-nodejs-express
$ npm install
$ npm start

STEPS

License

MIT

Free Software, Hell Yeah!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].