diff --git a/lib/callback/handler-postpaid.js b/lib/callback/handler-postpaid.js index ac489c3..ae677df 100644 --- a/lib/callback/handler-postpaid.js +++ b/lib/callback/handler-postpaid.js @@ -31,6 +31,14 @@ module.exports = (req, res) => { translatedRc, }); + const struk = getFromReq(req, 'struk'); + if (struk) { + logger.verbose(`${MODULE_NAME} 2E480E83: Got a struk`, { + xid, + typeofStruk: typeof struk, + }); + } + report(xid, { command: reportCommand, trx_id: getFromReq(req, 'request_id'), @@ -55,5 +63,6 @@ module.exports = (req, res) => { qs: req.query, }, }, + }); };