Commit 99aae14764251202ba41a80491e5ddd38a57758b

Authored by Adhidarma Hadiwinoto
1 parent f7bf38a045
Exists in master

config.h2h_out.auto_resend

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

partner-simplepay.js
... ... @@ -52,7 +52,7 @@ function callbackReport(requestId, rc, message, options) {
52 52  
53 53 //return;
54 54 // resend trx as status check if rc 68 and task is defined
55   - if (config && config.partner.auto_resend && Number(config.partner.auto_resend) && options && options.task && (rc == '68')) {
  55 + if (config && config.h2h_out.auto_resend && Number(config.h2h_out.auto_resend) && options && options.task && (rc == '68')) {
56 56 logger.verbose('Got pending trx, requesting in ' + seconds_to_wait_before_resend_on_pending + ' secs');
57 57 setTimeout(function() {
58 58 checkStatus(options.task);