Skip to content

Commit

Permalink
fix(notifications): added logs for printing the notification (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanorct authored Apr 10, 2024
1 parent 60d246c commit 73ef4fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions processor/src/services/adyen-payment.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ export class AdyenPaymentService extends AbstractPaymentService {
}

public async processNotification(opts: { data: NotificationRequestDTO }): Promise<void> {
log.info('Processing notification', { notification: JSON.stringify(opts.data) });
const updateData = await this.notificationConverter.convert(opts);
const updatedPayment = await this.ctPaymentService.updatePayment(updateData);
log.info('Payment updated after processing the notification', {
Expand Down

0 comments on commit 73ef4fd

Please sign in to comment.