puntopagos-node
v1.3.2
Published
PuntoPagos integration for Node.js
Downloads
4
Readme
INSTALATION
node.js
npm install puntopagos-node
HOW TO USE
var puntoPagos = request('puntopagos-node');
// Create payment
puntoPagos.pay(puntoPagos.generateId(), amont, puntoPagos.paymentMethod.webpay, callback(err, data));
// data = {token:token, redirect:redirect}
// Validate payament
puntoPagos.validate(token, generated_id, amount, callback(err, data));