Commit 635fc54bfa32e6e5f6067765e23dc54329a3db6d
1 parent
0b88c38354
Exists in
master
and in
1 other branch
Field command pada report
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
lib/core-callback/sender.js
... | ... | @@ -13,6 +13,7 @@ const sender = async (data, xid, retry) => { |
13 | 13 | |
14 | 14 | const params = { |
15 | 15 | httpgetx_xid: xid, |
16 | + command: data.command, | |
16 | 17 | request_id: data.request_id && data.request_id.toString(), |
17 | 18 | transaction_id: data.transaction_id && data.transaction_id.toString(), |
18 | 19 | transaction_date: data.transaction_date, |
lib/listener-partner/routers/inquiry.js
... | ... | @@ -61,6 +61,7 @@ const mainHandler = async (req, res) => { |
61 | 61 | |
62 | 62 | const resultForPartner = { |
63 | 63 | httpgetx_xid: xid, |
64 | + command: result.data.command, | |
64 | 65 | request_id: result.data.request_id && result.data.request_id.toString(), |
65 | 66 | transaction_id: result.data.transaction_id && result.data.transaction_id.toString(), |
66 | 67 | transaction_date: result.data.transaction_date, |
... | ... | @@ -70,7 +71,6 @@ const mainHandler = async (req, res) => { |
70 | 71 | destination: result.data.destination, |
71 | 72 | rc: result.data.rc, |
72 | 73 | sn: result.data.sn, |
73 | - // detail: result.data.detail, | |
74 | 74 | message: result.data.message, |
75 | 75 | amount: result.data.amount, |
76 | 76 | ending_balance: result.data.ending_balance, |
... | ... | @@ -92,6 +92,7 @@ const mainHandler = async (req, res) => { |
92 | 92 | |
93 | 93 | res.json({ |
94 | 94 | httpgetx_xid: xid, |
95 | + command: 'INQUIRY', | |
95 | 96 | request_id: requestId, |
96 | 97 | terminal_name: terminalName, |
97 | 98 | product_name: productName, |