wayforpay
v0.1.0
Published
WayForPay Api nodejs sdk
Downloads
75
Readme
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);