diff --git a/src/modules/transaction/transaction/domain/usecases/handlers/midtrans-transaction-callback.handler.ts b/src/modules/transaction/transaction/domain/usecases/handlers/midtrans-transaction-callback.handler.ts index 3cda667..f0e803b 100644 --- a/src/modules/transaction/transaction/domain/usecases/handlers/midtrans-transaction-callback.handler.ts +++ b/src/modules/transaction/transaction/domain/usecases/handlers/midtrans-transaction-callback.handler.ts @@ -74,12 +74,17 @@ export class MidtransCallbackHandler module: TABLE_NAME.TRANSACTION, op: OPERATION.UPDATE, }); + console.log({ data, old_data }); this.eventBus.publish( new TransactionChangeStatusEvent({ id: data_id, old: old_data, - data: { ...data, status: transaction.status }, + data: { + ...data, + status: transaction.status, + booking_date: transaction.booking_date, + }, user: BLANK_USER, description: 'Midtrans Callback', module: TABLE_NAME.TRANSACTION,