Commit fb16e7e7eb160398b236a4e17c0105c872e6b7d2

Authored by Adhidarma Hadiwinoto
1 parent ba0964fba8
Exists in master

ADVICE hanya 40 jika RESPONSECODE ada

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

... ... @@ -146,7 +146,7 @@ function _topUpInquiry(task) {
146 146  
147 147 report({
148 148 trx_id: task.trx_id,
149   - rc: komodoRc(value[RESPONSECODE_TAG]) || '40',
  149 + rc: (value[RESPONSECODE_TAG] && (komodoRc(value[RESPONSECODE_TAG]) || '40')) || '68',
150 150 message: 'topUpInquiry: ' + stringify(value),
151 151 sn: (value.SN || '').replace(/;$/, '') || st24.extractSnFromMessage(value.MESSAGE, config.sn_pattern),
152 152 amount: value.PRICE || st24.extractPriceFromMsg(value.MESSAGE, config.amount_pattern),