diff --git a/src/transaction/ppob_callback.controller.ts b/src/transaction/ppob_callback.controller.ts index cfd9894..c2e402c 100644 --- a/src/transaction/ppob_callback.controller.ts +++ b/src/transaction/ppob_callback.controller.ts @@ -51,7 +51,7 @@ export class PpobCallbackController { async getMetro(@Req() request: FastifyRequest) { const response = request.query; - if (response['message'].includes('CEK TAGIHAN')) { + if (response['message'].toLowerCase().includes('cek')) { if (response['status'] != 20) { //TODO: UPDATE GAGAL await this.transactionService.updateBill(