pay2go-suite

0.1.3 • Public • Published

Build Status Dependencies Status

Pay2go

Usage

var pay2goSuite = require("pay2go-suite")
var pay2go = new pay2goSuite({
  merchantID: "xxx",
  hashKey: "xxx",
  hashIV: "xxx"
});

var checkValue = pay2go.checkValue(order);

pay2go.createPayment({
  amount: xxx,
  currency: "twd",
}, function(err, d){
  // d is something like {
  //   chargeId: 123456789,
  //   amount: 12345678,
  // }
});

pay2go.verifyPayment({
  chargeId: xxxxx
}, function(err, d){
  // d is the payment information 
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    2
  • 0.1.2
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i pay2go-suite

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • ssmlee04