- fix response failed added what caused failed transaction

This commit is contained in:
Muhammad Fadli 2023-08-23 12:49:36 +07:00
parent f0706cb887
commit 7eb19b5ad1

View File

@ -616,7 +616,7 @@ export class TransactionService {
//HIT API SUPPLIER
let trxId;
trxId = Array(11)
trxId = Array(15)
.fill(null)
.map(() => {
return Math.round(Math.random() * 16).toString(16);
@ -1570,7 +1570,7 @@ export class TransactionService {
if (callback['hrg']) {
dataProductHistoryPrice.price = callback['hrg'];
} else {
} else if (callback['data']['additional']['harga']) {
dataProductHistoryPrice.price = parseInt(callback['data']['additional']['harga']);
}
} else if (supplier.code == 'Digiflazz') {