This commit is contained in:
2023-05-30 10:47:28 +07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export class PpobCallbackController {
try {
const response = request.query;
if (response['message'].toLowerCase().includes('cek tagihan')) {
if (response['message'].toLowerCase().includes('cek')) {
if (response['status'] != 20) {
//TODO: UPDATE GAGAL
await this.transactionService.updateBill(

View File

@@ -2757,7 +2757,7 @@ export class TransactionService {
`Bill dari ${billData.destination} adalah ${
amount + product_price.partner_fee + product_price.mark_up_price
}.` :
'';
'Bill tidak ditemukan';
const statusResponse = status ? 'berhasil' : 'gagal';
this.callbackToPartner(