Feat: add logs at callback failed

This commit is contained in:
mfadiln2018 2022-08-10 11:22:58 +07:00
parent eb18eb501b
commit e0c52e5505

View File

@ -82,8 +82,10 @@ export class PpobCallbackController {
console.log('masukkesiniga', 'msk');
//TODO: UPDATE GAGAL
console.log('gagal')
const updateTransaction =
await this.transactionService.callbackOrderFailed(
console.log('transaction failed')
await this.transactionService.callbackOrderFailed(
response['refid'],
response,
);
@ -96,6 +98,7 @@ export class PpobCallbackController {
}
//TODO: UPDATE BERHASIL
console.log('berhasil')
const updateTransaction =
await this.transactionService.callbackOrderSuccess(
response['refid'],