From c93230b4b992c570290041b7f232d1811284fc15 Mon Sep 17 00:00:00 2001 From: Fadli Date: Wed, 1 Mar 2023 03:28:21 +0700 Subject: [PATCH] - update digiflazz for prod --- src/helper/irs-api.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/helper/irs-api.ts b/src/helper/irs-api.ts index b5e8efa..35ba693 100644 --- a/src/helper/irs-api.ts +++ b/src/helper/irs-api.ts @@ -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';