JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q73307F
  • License ISC

Gepg emulator, for testing gepg payment and control number generating.

Package Exports

  • gepgfun
  • gepgfun/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gepgfun) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gepgfun

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

$ gepgfun serve

start a http server

$ gepgfun payment bill:control_number:amount:currency

make a payment request

$ gepgfun control_number bill

generate control number

.env

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