Commit ba873b76b4b8b55ee626de765affacf9e060d9c0
1 parent
064e7c879a
Exists in
master
terminalSuffix
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
partner-kospinjasa.js
... | ... | @@ -196,11 +196,13 @@ function saldoCheck(callback, task) { |
196 | 196 | |
197 | 197 | function billpayment(task, balance) { |
198 | 198 | |
199 | + var terminalSuffix = Math.ceil( Math.random() * 20 ) + 10; | |
199 | 200 | var remoteProduct = task.remoteProduct.split(','); |
201 | + | |
200 | 202 | var params = { |
201 | 203 | userName: config.h2h_out.userid, |
202 | 204 | productCode: remoteProduct[0] , |
203 | - terminal: 'H2HIPN10', | |
205 | + terminal: 'H2HIPN' + terminalSuffix, | |
204 | 206 | transactionType: '50', |
205 | 207 | billNumber: createBillNumber(task.destination), |
206 | 208 | amount: remoteProduct[1], |