0.2.21 • Published 9 years ago
pingan-payment v0.2.21
平安银行支付客户端(node.js)
let pingan = new Pingan({
webServiceHost: 'https://testebank.sdb.com.cn/',
regulatory: {
server: '192.168.32.210',
port: 7072,
marketId: '3006',
superviseAccountId: '11014892692004'
},
payment: {
cert: '../certs/2000311146.pem',
passphrase: '111111',
paygate: '../certs/paygate.pem',
masterId: '2000311146',
returnURL: 'http://pingan.stackup.guru/peyment/return',
notifyURL: 'http://pingan.stackup.guru/peyment/notify'
}
});
var params = {
FuncFlag: '1',
SupAcctId: '11014166568005',
ThirdCustId: 'TestAccountID',
CustProperty: '00',
NickName: '测试用户名',
Reserve: '保留域信息'
};
pingan.sendMessage('20160531010101123456', '6000', params, (error, result) => {
console.log('Error: ' + error);
console.log('Result: ' + JSON.stringify(result));
});
pingan.preparePaymentForm({
masterId: '2000311146',
orderId: '200031114620150604' + '13579246', //~~(Math.random() * 89999999 + 10000000),
currency: 'RMB',
amount: '0.01',
objectName: '测试签名',
paydate: '20160710120406',
remark: 'this is a test product',
validtime: '0'
});0.2.21
9 years ago
0.2.20
9 years ago
0.2.16
9 years ago
0.2.12
9 years ago
0.2.11
9 years ago
0.2.10
9 years ago
0.2.9
9 years ago
0.2.8
9 years ago
0.2.7
9 years ago
0.2.6
9 years ago
0.2.5
9 years ago
0.2.4
9 years ago
0.2.3
9 years ago
0.2.2
9 years ago
0.2.1
9 years ago
0.2.0
9 years ago
0.1.8
10 years ago
0.1.7
10 years ago
0.1.6
10 years ago
0.1.5
10 years ago
0.1.4
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago