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