Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging

This commit is contained in:
Muhammad Fadli 2023-05-30 10:46:40 +07:00
commit d9f564d719
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(