Commit e6225c9d9f086b6def7d9a33bb9daedea393de04

Authored by Adhidarma Hadiwinoto
1 parent 99aae14764
Exists in master

partner rc pada reverse report

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

partner-simplepay.js
... ... @@ -427,6 +427,13 @@ function createReverseHttpServer() {
427 427 rc = '40';
428 428 }
429 429  
  430 + if (rc === '40') {
  431 + const partnerRC = getPartnerRCFromDiagMessage(diag);
  432 + if (partnerRC == '15') {
  433 + rc = '14';
  434 + }
  435 + }
  436 +
430 437 if ((typeof qs.balance === 'string') && qs.balance && aaa.updateBalance) {
431 438 const balance = qs.balance.replace(/\D/g, '');
432 439 if (balance) {