From 7e83212df75fe14c665d3e1f56ec8ac1330506c1 Mon Sep 17 00:00:00 2001 From: Fadli Date: Thu, 23 Feb 2023 00:51:19 +0700 Subject: [PATCH] - log digiflazz supplier --- src/helper/irs-api.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helper/irs-api.ts b/src/helper/irs-api.ts index 3ac716f..ae208de 100644 --- a/src/helper/irs-api.ts +++ b/src/helper/irs-api.ts @@ -43,7 +43,7 @@ export const doTransaction = async ( customer_no: `${destination}`, buyer_sku_code: `${productCode}`, ref_id: `${idtrx}`, - sign: md5Hash.default(md5HashDigiflazz), + sign: md5Hash.default(`${supplier.irs_user}${supplier.irs_pass}${idtrx}`), testing: true, }; const res = await axios.post( @@ -66,7 +66,7 @@ export const doTransaction = async ( customer_no: `${destination}`, buyer_sku_code: `${productCode}`, ref_id: `${billTrxId}`, - sign: md5Hash.default(md5HashDigiflazz), + sign: md5Hash.default(`${supplier.irs_user}${supplier.irs_pass}${idtrx}`), testing: true, }; const res = await axios.post( @@ -89,7 +89,7 @@ export const doTransaction = async ( customer_no: `${destination}`, buyer_sku_code: `${productCode}`, ref_id: `${idtrx}`, - sign: md5Hash.default(md5HashDigiflazz), + sign: md5Hash.default(`${supplier.irs_user}${supplier.irs_pass}${idtrx}`), testing: true, }; const res = await axios.post(