add metadata to ignore audit logging in payment events

This commit is contained in:
Marshal
2026-08-05 22:26:04 +00:00
parent 8089e5cfd9
commit 5933795116
3 changed files with 19 additions and 9 deletions

View File

@@ -169,13 +169,13 @@ export class CbeBillService {
async pay(dto: CbePaymentRequestDto): Promise<CbePaymentResponseDto> {
this.assertEnabled();
this.logger.log({
msg: "cbe.payment.request",
billId: dto.Bill_Id,
endToEndTxnId: dto.End_To_End_Txn_Id,
cbeTxnRef: dto.Cbe_Txn_Ref,
request: dto,
});
// this.logger.log({
// msg: "cbe.payment.request",
// billId: dto.Bill_Id,
// endToEndTxnId: dto.End_To_End_Txn_Id,
// cbeTxnRef: dto.Cbe_Txn_Ref,
// request: dto,
// });
// §6.5 idempotency on CBE's per-attempt id, in order.
const prior = await this.cbeBillRepository.findByEndToEndTxnId(