Merge branch 'development' into 'devops-staging'

Feat: add logs at callback failed

See merge request empatnusabangsa/ppob/ppob-backend!196
This commit is contained in:
muhammad fadil 2022-08-10 04:25:31 +00:00
commit 0d6089289f

View File

@ -82,8 +82,10 @@ export class PpobCallbackController {
console.log('masukkesiniga', 'msk'); console.log('masukkesiniga', 'msk');
//TODO: UPDATE GAGAL //TODO: UPDATE GAGAL
console.log('gagal')
const updateTransaction = const updateTransaction =
await this.transactionService.callbackOrderFailed( console.log('transaction failed')
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'],