hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

refactor(connector): add amount conversion framework to Riskified

Open Sidharth-Singh10 opened this issue 1 year ago • 9 comments

Type of Change

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

Description

This PR does amount conversion changes for Riskified Connector and it accepts the amount in MinorUnit

Additional Changes

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

Motivation and Context

Fixes https://github.com/juspay/hyperswitch/issues/6139

Checklist

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

Sidharth-Singh10 avatar Oct 17 '24 18:10 Sidharth-Singh10