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.64k stars 1.36k forks source link

feat(payments): Add audit events for PaymentStatus update #6520

Open Rutam21 opened 2 weeks ago

Rutam21 commented 2 weeks ago

Type of Change

Description

This PR adds an Audit event for the PaymentStatus operation.

Additional Changes

Motivation and Context

This PR fixes #4677

How did you test it

This requires FRM-related flows to be tested, and may not be tested locally.

Checklist

semanticdiff-com[bot] commented 2 weeks ago

Review changes with  SemanticDiff

Changed Files
| File | Status | | :--- | :--- | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6520/changes#crates/router/src/core/payments/operations/payment_status.rs)  [crates/router/src/core/payments/operations/payment\_status\.rs](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6520/changes#crates/router/src/core/payments/operations/payment_status.rs) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6520/changes#crates/router/src/core/payments/operations/payment_status.rs)  0% smaller | | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6520/changes#crates/router/src/events/audit_events.rs)  [crates/router/src/events/audit\_events\.rs](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6520/changes#crates/router/src/events/audit_events.rs) | [](https://app.semanticdiff.com/gh/juspay/hyperswitch/pull/6520/changes#crates/router/src/events/audit_events.rs)  0% smaller |
Rutam21 commented 1 hour ago

Please review and suggest changes, if any. Thanks.

cc: @tsdk02 @Chethan-rao @gorakhnathy7