-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(payments): Add audit events for PaymentStatus update #6520
Conversation
Changed Files
|
Please review and suggest changes, if any. Thanks. |
Hey @Rutam21, Try to check if you are able to log this in the |
@Rutam21 I have tested this PR locally, and updated the test cases. Seems to be working fine. |
@likhinbopanna This PR has been approved and is ready to be added to the merge queue. Please do the needful. Thanks. |
Type of Change
Description
This PR adds an Audit event for the PaymentStatus operation.
Additional Changes
This PR modifies the files below
crates/router/src/core/payments/operations/payment_status.rs
crates/router/src/events/audit_events.rs
Motivation and Context
This PR fixes #4677
How did you test it
Payments - Create
endpointPayments - Retrieve
endpoint.Audit log will get generated and can be viewed in hyperswitch-audit-events topic in kafka with
PaymentStatus
event-type.Checklist
cargo +nightly fmt --all
cargo clippy