0.1.3 • Published 8 years ago

pay2go-suite v0.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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

8 years ago

0.1.2

8 years ago

0.1.0

8 years ago