- fix code voca in subcategory column
This commit is contained in:
		| @@ -83,13 +83,18 @@ export const doTransaction = async ( | ||||
|         var responseVoca = res.data.data; | ||||
|     console.log('iniresponsevoca', responseVoca) | ||||
|     if (responseVoca != null) { | ||||
|       const endpointDetail = `/transaction/${responseVoca.invoiceId}/detail`; | ||||
|       const signatureDetail = createHmac('sha256', secretKey) | ||||
|           .update(merchantId + endpointDetail) | ||||
|           .digest('hex'); | ||||
|       const resDetail = await axios.get( | ||||
|           `${supplier.url}/v1/core/transaction/${responseVoca.invoiceId}/detail?signature=${signature}`, | ||||
|           `${supplier.url}/v1/core/transaction/${responseVoca.invoiceId}/detail?signature=${signatureDetail}`, | ||||
|           options, | ||||
|       ); | ||||
|  | ||||
|       return resDetail.data | ||||
|     } | ||||
|  | ||||
|     } else if (supplier.code == 'Digiflazz') { | ||||
|       if (typePaid == 'INQUIRY') { | ||||
|         const md5HashDigiflazz = `${supplier.irs_user}${supplier.irs_pass}${idtrx}`; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user