- fix product price auto update getting from calback in metro

- revert logs in ppob callback metro
This commit is contained in:
Fadli 2022-08-10 22:40:50 +07:00
parent eec61277c2
commit 5078177b6f

View File

@ -1231,7 +1231,7 @@ export class TransactionService {
if (callback['message'].includes('METRO')) {
if (callback['price'] != dataTransaction.product_price.price) {
console.log("mskupdt", "msk")
dataTransaction.product_price.price = callback['price'].toInt()
dataTransaction.product_price.price = parseInt(callback['price'])
}
}
}
@ -1330,7 +1330,7 @@ export class TransactionService {
if(callback['message']) {
if (callback['message'].includes('METRO')) {
if (callback['price'] != dataTransaction.product_price.price) {
dataTransaction.product_price.price = callback['price'].toInt()
dataTransaction.product_price.price = parseInt(callback['price'])
}
}
}