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

This commit is contained in:
Muhammad Fadli 2023-09-21 00:39:39 +07:00
commit cf83253ed7

View File

@ -182,12 +182,15 @@ export class PpobCallbackController {
console.log('responsevocagame', response);
if (response['status'] != 'Success') {
//TODO: UPDATE GAGAL
if (response['status'] != 'Processing') {
await this.transactionService.checkCallbackOrderFailed(
response['reference'],
response,
);
}
} else {
//TODO: UPDATE BERHASIL
if (response['status'] != 'Processing') {
await this.transactionService.checkCallbackOrderSuccess(
response['reference'],
response,
@ -195,3 +198,4 @@ export class PpobCallbackController {
}
}
}
}