wayforpay

0.1.0 • Public • Published

var WayForPay = require('wayforpay');
var wayforpay = new WayForPay(merchant_account, merchant_password);

var params = {
'merchantDomainName': 'app.wepster.com',
'merchantTransactionSecureType': 'AUTO',
'serviceUrl': 'http://yourdomain.com/wfp/return',
'orderReference': 'orderid001',
'orderDate': '14898322',
'amount': '1.00',
'currency': 'USD',
'productName': 'product name',
'productPrice': '2.00',
'productCount': "2",
'language': "ru",
};

var generatePurchaseUrl = wayforpay.generatePurchaseUrl(params);

Package Sidebar

Install

npm i wayforpay

Weekly Downloads

28

Version

0.1.0

License

MIT

Last publish

Collaborators

  • fducom