1.0.81 • Published 4 years ago

vanillapay v1.0.81

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

VanillaPay

For using vanilla pay NodeJs Module

Inside your project folder run

$ npm install --save vanillapay
var VanillaPay = require('vanillapay');
// get Paiment instance.
var vanillapay = new VanillaPay(your_site_url,client_id,client_secret,public_key,private_key);

To unit payment processing

vanillapay.initPaie(idpanier,montant,nom,reference,adresseip,function(idpayment){
    //idpaiement is your payment id (crypted) that you need if you want to get payment result
    console.log(idpayment);
},function(error){
    console.log(error);
});
//You will be redirect to VanillaPay payment and  follow it ;

To get payment result ;

//Getting payment result
vanillapay.resultPaie(idpayment,(result){
    console.log(result);
},function(error){
    console.log(error);
});

Digi-Talent

1.0.81

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago