- add log for digiflazz

This commit is contained in:
Fadli 2023-02-22 20:55:11 +07:00
parent cfb7d035f6
commit 576f57cd47

View File

@ -79,7 +79,7 @@ export const doTransaction = async (
} else { } else {
const md5HashDigiflazz = `${supplier.irs_user}${supplier.irs_pass}${idtrx}`; const md5HashDigiflazz = `${supplier.irs_user}${supplier.irs_pass}${idtrx}`;
var cryptoMd5 = require('md5'); var cryptoMd5 = require('md5');
console.log('hashmd5', cryptoMd5(md5HashDigiflazz, 'hex'));
const options = { const options = {
headers: {'Content-Type': 'application/json'}, headers: {'Content-Type': 'application/json'},
}; };