Commit 1173f582ad31945fee39ffe9377e341601022b80
1 parent
4ae3d637f3
Exists in
master
all errors are 40
Showing 1 changed file with 5 additions and 1 deletions Side-by-side Diff
partner-irs.js
... | ... | @@ -126,7 +126,7 @@ function topupRequestXMLRPC(task, retry) { |
126 | 126 | }, sleep_before_retry); |
127 | 127 | |
128 | 128 | } else { |
129 | - callbackReport(task['requestId'], '91', 'Gangguan koneksi ke suplier: ' + error); | |
129 | + callbackReport(task['requestId'], '68', 'Silahkan resend. Gangguan koneksi ke suplier: ' + error); | |
130 | 130 | } |
131 | 131 | return; |
132 | 132 | } |
... | ... | @@ -137,6 +137,10 @@ function topupRequestXMLRPC(task, retry) { |
137 | 137 | value['MESSAGE'] = 'SN=' + parseSN(value['MESSAGE']) + '; ' + value['MESSAGE']; |
138 | 138 | } |
139 | 139 | |
140 | + if (value['RESPONSECODE'] != '00') { | |
141 | + value['RESPONSECODE'] = '40'; | |
142 | + } | |
143 | + | |
140 | 144 | callbackReport(value['REQUESTID'], value['RESPONSECODE'], value['MESSAGE']); |
141 | 145 | }); |
142 | 146 | } |