diff --git a/src/transaction/ppob_callback.controller.ts b/src/transaction/ppob_callback.controller.ts index 3a91318..fef6bb2 100644 --- a/src/transaction/ppob_callback.controller.ts +++ b/src/transaction/ppob_callback.controller.ts @@ -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( diff --git a/src/transaction/transaction.service.ts b/src/transaction/transaction.service.ts index 826ec17..bcb4a0c 100644 --- a/src/transaction/transaction.service.ts +++ b/src/transaction/transaction.service.ts @@ -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(