diff --git a/partner-simplepay.js b/partner-simplepay.js index 2aac0f4..51a57d5 100644 --- a/partner-simplepay.js +++ b/partner-simplepay.js @@ -50,6 +50,7 @@ function start(options) { function callbackReport(requestId, rc, message, options) { aaa.callbackReportWithPushToMongoDb(requestId, rc, message); + return; // resend trx as status check if rc 68 and task is defined if (options && options.task && (rc == '68')) { logger.verbose('Got pending trx, requesting in ' + seconds_to_wait_before_resend_on_pending + ' secs');