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

This commit is contained in:
Fadli 2023-03-01 23:03:28 +07:00
commit 41446c352d

View File

@ -43,7 +43,6 @@ export const doTransaction = async (
buyer_sku_code: `${productCode}`,
ref_id: `${idtrx}`,
sign: md5Hash(md5HashDigiflazz),
testing: true,
};
const res = await axios.post(
`${supplier.url}/transaction`,
@ -66,7 +65,6 @@ export const doTransaction = async (
buyer_sku_code: `${productCode}`,
ref_id: `${billTrxId}`,
sign: md5Hash(md5HashDigiflazz),
testing: true,
};
const res = await axios.post(
`${supplier.url}/transaction`,
@ -88,7 +86,6 @@ export const doTransaction = async (
buyer_sku_code: `${productCode}`,
ref_id: `${idtrx}`,
sign: md5Hash(md5HashDigiflazz),
testing: true,
};
const res = await axios.post(
`${supplier.url}/transaction`,
@ -134,7 +131,6 @@ export const doTransaction = async (
console.log('restranshemat', res);
} catch (err) {
console.log('errtransaction', err);
console.log('errtransaction2', err.response.data);
if (err.includes('Maaf Saldo anda tidak mencukupi')) {
throw 'maaf saat ini transaksi sedang tidak bisa diproses, silahkan hubungi WND Solutions untuk bisa di proses kembali';