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);
forked from fducom/wayforpay
-
Notifications
You must be signed in to change notification settings - Fork 0
License
AsyncLegs/wayforpay
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%