From fcc793e8c34dddd9f9eb5aad3b504617d69ca8c2 Mon Sep 17 00:00:00 2001
From: adi surya <adisurya1@gmail.com>
Date: Thu, 28 Jul 2022 10:45:01 +0700
Subject: [PATCH] update callback handler

---
 lib/http-server/routers/updates/index.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/http-server/routers/updates/index.js b/lib/http-server/routers/updates/index.js
index b5b7b28..cd41910 100644
--- a/lib/http-server/routers/updates/index.js
+++ b/lib/http-server/routers/updates/index.js
@@ -36,8 +36,10 @@ const pageUpdate = async (req, res) => {
         let rc = '68';
         if (data.status === 'S') {
             rc = '00';
-        } else if (data.status === 'F' || data.status === 'R') {
+        } else if (data.status === 'F') {
             rc = '40';
+        } else if (data.status === 'R') {
+            rc = '47';
         }
         const params = {
             id: trxId,
-- 
1.9.0