Commit 17d2372a28e6b919dc8af86e7b8bbc1482714085

Authored by Adhidarma Hadiwinoto
1 parent 23f8809e93
Exists in master

penyederhanaan kembali

Showing 1 changed file with 1 additions and 17 deletions Side-by-side Diff

partner-kospinjasa.js
... ... @@ -61,23 +61,7 @@ function topupRequestSoap(task, params, retry) {
61 61  
62 62 logger.info('Requesting to service', {url: config.h2h_out.partner, params: params});
63 63  
64   - soapClient.billpayment(
65   - {
66   - inputCheck: {
67   - userName: params.userName,
68   - signature: params.signature,
69   - productCode: params.productCode,
70   - terminal: params.terminal,
71   - transactionType: params.transactionType,
72   - billNumber: params.billNumber,
73   - amount: params.amount,
74   - bit61: params.bit61,
75   - reff: params.reff,
76   - timeStamp: params.timeStamp
77   - }
78   - },
79   - function(err, result) {
80   -
  64 + soapClient.billpayment({ inputCheck: params }, function(err, result) {
81 65 if (err) {
82 66 logger.warn('Error requesting service', {err: err});
83 67 callbackReport(task.requestId, '68', 'something wrong');