Commit 002f8976e2aa6628d65b45ebfcf997c93b2b972e

Authored by Adhidarma Hadiwinoto
1 parent 3b800bacd7
Exists in master

201 pending

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

partner-bayarkilat.js
... ... @@ -281,6 +281,12 @@ function parseResponse(body, task) {
281 281 else if (parseInt(responseCode) == '99') {
282 282 st24rc = '68'
283 283 }
  284 + else if (parseInt(responseCode) == '201') {
  285 + st24rc = '68'
  286 + }
  287 + else if (message.indexOf('Transaksi sedang dalam proses') >= 0) {
  288 + st24rc = '68';
  289 + }
284 290 else {
285 291 st24rc = '40';
286 292 }