Commit f1f98cf8d0581f550458f9af8d3a83b28eb71d5b

Authored by Adhidarma Hadiwinoto
1 parent b716296f38
Exists in master

retry if 68

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

... ... @@ -84,6 +84,12 @@ function topupRequest(task, retry) {
84 84  
85 85 callbackReport(task['requestId'], response_code, message);
86 86  
  87 + if (response_code == '68') {
  88 + setTimeout(function() {
  89 + topupRequest(task, 5);
  90 + }, 60000);
  91 + }
  92 +
87 93 });
88 94 });
89 95 }