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,16 +182,20 @@ export class PpobCallbackController {
console.log('responsevocagame', response); console.log('responsevocagame', response);
if (response['status'] != 'Success') { if (response['status'] != 'Success') {
//TODO: UPDATE GAGAL //TODO: UPDATE GAGAL
await this.transactionService.checkCallbackOrderFailed( if (response['status'] != 'Processing') {
response['reference'], await this.transactionService.checkCallbackOrderFailed(
response, response['reference'],
); response,
);
}
} else { } else {
//TODO: UPDATE BERHASIL //TODO: UPDATE BERHASIL
await this.transactionService.checkCallbackOrderSuccess( if (response['status'] != 'Processing') {
response['reference'], await this.transactionService.checkCallbackOrderSuccess(
response, response['reference'],
); response,
);
}
} }
} }
} }