juspay / hyperswitch

An open source payments switch written in Rust to make payments fast, reliable and affordable
https://hyperswitch.io/
Apache License 2.0
12.14k stars 1.28k forks source link

[FEATURE] Adding Audit events for payment core operations #4525

Open lsampras opened 5 months ago

lsampras commented 5 months ago

The events we generate are supposed to be a summarized view for non-developers, These events are supposed to capture the key checkpoints for a payment flow that would provide value to the merchant understanding it.

Following the above suit we can add events to more such checkpoints starting with payments core

We've updated the UpdateTracker trait to accept a request state which in turn can be used to generate events. Currently only PaymentCancel flow generates such events which needs to be extended to other flows as well,

This is a tracking issue for these implementations, create a separate GH issue to discuss the implementation for each Payment Operation

References:

subhajit20 commented 4 months ago

Hey @lsampras I want to take the Payment Reject

lsampras commented 4 months ago

Hey @lsampras I want to take the Payment Reject

Thanks for your interest @subhajit20 . I've created a dedicated issue #4669 for this, I can assign you the issue once you comment on it.