-
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
fix(event): Updated the ApiEventMetric #5126
Conversation
Hey @tanbirali you can refer to this implementation hyperswitch/crates/api_models/src/events/payment.rs Lines 48 to 54 in 86f4060
|
Let me know if I got this right this time |
@tanbirali yup, |
… the crates/api_models/src/events/payment.rs file
… the crates/api_models/src/events/payment.rs file
Let me know if I need to do anything else |
… the crates/api_models/src/events/payment.rs file
Hey @tanbirali, you'll need to remove this line I think since it causes duplicate implementations of this trait
|
Can you also add screenshots for local testing? you can run the data pipeline and this event should show up in the dashboard events & logs section when you make an sessions api call. |
…yperswitch into updateApiEventMetric Merging the remote changes as the local changes are creating conflicts and not allowing me to push.
Sorry I can't do the local testing right now I had issues setting it up with docker, hyperswitch server was failing, I had a talk with @SanchithHegde about this, if I can I will add a ss of the local test |
@tanbirali Would you be able to fix the CI failures here? |
Let me give it a try |
@lsampras All done I guess |
…ify-cypress * 'main' of github.com:juspay/hyperswitch: (22 commits) refactor: Adding millisecond to Kafka timestamp (#5202) chore(version): 2024.07.05.0 fix(user_auth_method): make id option in auth select (#5213) Docs: Updated API - ref for payments (#5172) feat(core): add merchant order reference id (#5197) feat(analytics): Refund status serialization issue for ckh analytics (#5199) fix(router): `override setup_future_usage` filed to on_session based on merchant config (#5195) feat(cypress): make tests forcefully skippable (#5176) feat(core): Added integrity framework for Authorize and Sync flow with connector as Stripe (#5109) ci(cypress): Update card number for adyen and status for paypal (#5192) refactor(cypress): error handling and add sync refunds in places where missing (#5128) feat(analytics): FRM Analytics (#4880) chore(version): 2024.07.04.0 feat(pm_auth): Added balance check for PM auth bank account (#5054) refactor(payment_methods): add appropriate missing logs (#5190) refactor(migrations): add commands to make file to run migrations for api v2 (#5169) chore(version): 2024.07.03.0 fix(event): Updated the ApiEventMetric (#5126) feat(router): add refunds manual-update api (#5094) refactor(payment_link): logs payment links logs coverage (#4918) ...
Type of Change
Description
Updated the
ApiEventMetric
trait to returnApiEventsType::Payment { payment_id : String}
variant.Fixes #5059
Checklist
cargo +nightly fmt --all