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
if (response['status'] != 'Processing') {
await this.transactionService.checkCallbackOrderFailed( await this.transactionService.checkCallbackOrderFailed(
response['reference'], response['reference'],
response, response,
); );
}
} else { } else {
//TODO: UPDATE BERHASIL //TODO: UPDATE BERHASIL
if (response['status'] != 'Processing') {
await this.transactionService.checkCallbackOrderSuccess( await this.transactionService.checkCallbackOrderSuccess(
response['reference'], response['reference'],
response, response,
); );
} }
} }
}
} }