Commit 93f2552cc8afaead97236c9476d4bc430b3c80c6

Authored by Adhidarma Hadiwinoto
1 parent 76325823ce
Exists in master

error code

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

... ... @@ -95,6 +95,14 @@ function topupRequest(task, retry) {
95 95 }
96 96  
97 97 console.log(result);
  98 +
  99 + var response_code = '68';
  100 + var message = result.datacell.resultcode.message[0].trim();
  101 + if (result.datacell.resultcode[0] == '999') {
  102 + response_code = '40';
  103 + }
  104 +
  105 + callbackReport(task['requestId'], response_code, message);
98 106 });
99 107  
100 108 });