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(