Skip to content

Conversation

sohamm20
Copy link

@sohamm20 sohamm20 commented Oct 12, 2025

Fixes #9223

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Added integrity checks to Silverflow connector for all payment and refund flows (Authorize, PSync, Refund, RSync). This validates amount and currency consistency between requests and responses to prevent financial discrepancies and detect data corruption.

Additional Changes

  • This PR modifies the API contract
  • This PR modifies the database schema
  • This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

  • I formatted the code cargo +nightly fmt --all
  • I addressed lints thrown by cargo clippy
  • I reviewed the submitted code
  • I added unit tests for my changes where possible

@sohamm20 sohamm20 requested a review from a team as a code owner October 12, 2025 14:42
Copy link

semanticdiff-com bot commented Oct 12, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  crates/hyperswitch_connectors/src/connectors/square.rs  13% smaller
  crates/hyperswitch_connectors/src/connectors/square/transformers.rs  12% smaller
  crates/hyperswitch_connectors/src/connectors/silverflow.rs  11% smaller

@sohamm20 sohamm20 changed the title Added integrity check Added integrity check #9221 Oct 12, 2025
@sohamm20 sohamm20 changed the title Added integrity check #9221 feat(connector): Added integrity check #9221 Oct 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] : [SILVERFLOW] Add Integrity Check Support for Authorize, PSync, Refund and RSync Flows

1 participant