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 
});

Readme

Keywords

none

Package Sidebar

Install

npm i pay2go-suite

Weekly Downloads

7

Version

0.1.3

License

MIT

Last publish

Collaborators

  • ssmlee04