0.2.21 • Published 8 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
8 years ago
0.2.20
8 years ago
0.2.16
8 years ago
0.2.12
8 years ago
0.2.11
8 years ago
0.2.10
8 years ago
0.2.9
8 years ago
0.2.8
8 years ago
0.2.7
8 years ago
0.2.6
8 years ago
0.2.5
8 years ago
0.2.4
8 years ago
0.2.3
8 years ago
0.2.2
8 years ago
0.2.1
8 years ago
0.2.0
8 years ago
0.1.8
8 years ago
0.1.7
8 years ago
0.1.6
8 years ago
0.1.5
8 years ago
0.1.4
8 years ago
0.1.3
8 years ago
0.1.2
8 years ago
0.1.1
8 years ago
0.1.0
8 years ago