Skip to content

gepg mock/test/demo server for running tests on your local machine

Notifications You must be signed in to change notification settings

mikemasam/gepgfun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gepgfun v4 & v5

# Start a http server
gepgfun serve

# Start a http server with autopay
gepgfun serve --autopay


# make a payment request
gepgfun payment bill:control_number:amount:currency


# generate control number
gepgfun control_number bill


### configuration

$ Control Request Endpoint v4= http://localhost:3000/api/bill/sigqrequest

$ Control Request Endpoint v5= http://localhost:3000/api/bill/20/submission $ Push Endpoint v5= http://localhost:3000/api/bill/20/push

$ gepgfun serve --port=3000


### arguments

$ gepgfun serve --port=3000

$ gepgfun control_number 1231 --callback=http://localhost/api/v1/receive-control-number #removed

$ gepgfun payment 1231:99324342342:1500:TZS --callback=http://localhost/api/v1/receive-payment #removed


### alternative .env

URL_CONTROL_NUMBER_CALLBACK=http://localhost/api/v1/billing/receive-control-number URL_PAYMENT_CALLBACK=http://localhost/api/v1/billing/receive-payment

About

gepg mock/test/demo server for running tests on your local machine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published