Commit e40d51df36e647b05a97f5b1a9952f5e51e94e28

Authored by Adhidarma Hadiwinoto
1 parent 57cfab2f3f
Exists in master

disable auto resend

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

partner-simplepay.js
... ... @@ -50,6 +50,7 @@ function start(options) {
50 50 function callbackReport(requestId, rc, message, options) {
51 51 aaa.callbackReportWithPushToMongoDb(requestId, rc, message);
52 52  
  53 + return;
53 54 // resend trx as status check if rc 68 and task is defined
54 55 if (options && options.task && (rc == '68')) {
55 56 logger.verbose('Got pending trx, requesting in ' + seconds_to_wait_before_resend_on_pending + ' secs');