- fix response failed added what caused failed transaction
This commit is contained in:
parent
f0706cb887
commit
7eb19b5ad1
|
@ -616,7 +616,7 @@ export class TransactionService {
|
||||||
//HIT API SUPPLIER
|
//HIT API SUPPLIER
|
||||||
let trxId;
|
let trxId;
|
||||||
|
|
||||||
trxId = Array(11)
|
trxId = Array(15)
|
||||||
.fill(null)
|
.fill(null)
|
||||||
.map(() => {
|
.map(() => {
|
||||||
return Math.round(Math.random() * 16).toString(16);
|
return Math.round(Math.random() * 16).toString(16);
|
||||||
|
@ -1570,7 +1570,7 @@ export class TransactionService {
|
||||||
|
|
||||||
if (callback['hrg']) {
|
if (callback['hrg']) {
|
||||||
dataProductHistoryPrice.price = callback['hrg'];
|
dataProductHistoryPrice.price = callback['hrg'];
|
||||||
} else {
|
} else if (callback['data']['additional']['harga']) {
|
||||||
dataProductHistoryPrice.price = parseInt(callback['data']['additional']['harga']);
|
dataProductHistoryPrice.price = parseInt(callback['data']['additional']['harga']);
|
||||||
}
|
}
|
||||||
} else if (supplier.code == 'Digiflazz') {
|
} else if (supplier.code == 'Digiflazz') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user