juspay/hyperswitch
View on GitHubrefactor(connector) : Move connector specific functions in utils
Open
#7,926 opened on Apr 29, 2025
A-connector-integrationC-refactorE-easygood first issue
Description
There are connector specific function(s) in crates/hyperswitch_connectors/src/utils.rs , need to move it into specific connector code (or make it generic!)
馃敤 eg. validate_currency which is not a common function and used only in crates/hyperswitch_connectors/src/connectors/braintree/transformers.rs .
Checkpoints :
- If the code seems it could be reused make it generic.