1.3.2 • Published 9 years ago

puntopagos-node v1.3.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

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

PuntoPagos Documentation

Oficial documentation