Commit 976096efe66e47e0af1523abe5bc55d3adc04593

Authored by Adhidarma Hadiwinoto
1 parent 72f93db33a
Exists in master

RC40 jika dapat prepaid padahal config.sdk_pull_only_postpaid

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

... ... @@ -242,6 +242,11 @@ function forwardCoreTaskToPartner(coreMessage, start_time) {
242 242  
243 243 if (config.sdk_pull_only_postpaid) {
244 244 logger.warn('Got task on sdk_pull_only_postpaid. It should not be happens', { task });
  245 + report({
  246 + trx_id: task.trx_id,
  247 + rc: '40',
  248 + message: 'GATEWAY ini diset hanya untuk transaksi postpaid (config.sdk_pull_only_postpaid)',
  249 + });
245 250 return;
246 251 }
247 252