Giter Club home page Giter Club logo

merchant-billgenerators's Introduction

Server side code for merchant bill generator

  • Summary A bill consists of these fields:
{
"command":"debit",
"accessToken":"ola_access_token",
"uniqueId":"TXN1232434343555523",
"comments":"optional",
"udf":"optional",
"hash":"3ce32cf5dd8ad19909fa944dbb67e82260db059590546fad676ba859654477447080ef7a6262b91be36ce5e3260d525d977da632957b9822499134dd96a076c1",
"returnUrl":"http://myweb.com/myreturn_url.php",
"notificationUrl":"http://myweb.com/mynotify_url.php",
"amount":"100.00",
"currency":"INR"
}

The value of the hash key is generated based on the other keys. It is a SHA512 of the hash string, where hash string is as follows:

HashString := 'access_token|uniqueId|comments|udf|returnUrl|notifyUrl|currency|amount|salt'

Hash := SHA512(HashString)

This Repo will contains the above sudo code implementation in different languages as a base to be used.

merchant-billgenerators's People

Contributors

artpar avatar

Watchers

Vishal Alhat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.