Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging

This commit is contained in:
Fadli 2023-02-22 22:53:05 +07:00
commit b818677260

View File

@ -42,7 +42,7 @@ export const doTransaction = async (
customer_no: `${destination}`,
buyer_sku_code: `${productCode}`,
ref_id: `${idtrx}`,
sign: md5(md5HashDigiflazz),
sign: md5.default(md5HashDigiflazz),
testing: true,
};
const res = await axios.post(
@ -64,7 +64,7 @@ export const doTransaction = async (
customer_no: `${destination}`,
buyer_sku_code: `${productCode}`,
ref_id: `${billTrxId}`,
sign: md5(md5HashDigiflazz),
sign: md5.default(md5HashDigiflazz),
testing: true,
};
const res = await axios.post(
@ -76,7 +76,7 @@ export const doTransaction = async (
return res.data;
} else {
const md5HashDigiflazz = `${supplier.irs_user}${supplier.irs_pass}${idtrx}`;
console.log('hashmd5', md5(md5HashDigiflazz));
const options = {
headers: {'Content-Type': 'application/json'},
};
@ -85,7 +85,7 @@ export const doTransaction = async (
customer_no: `${destination}`,
buyer_sku_code: `${productCode}`,
ref_id: `${idtrx}`,
sign: md5(md5HashDigiflazz),
sign: md5.default(md5HashDigiflazz),
testing: true,
};
const res = await axios.post(