juspay/hyperswitch

refactor(connector) : Move connector specific functions in utils

Open

#7,926 opened on Apr 29, 2025

View on GitHub
聽(4 comments)聽(0 reactions)聽(1 assignee)Rust聽(42,690 stars)聽(4,676 forks)batch import
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 :

  1. If the code seems it could be reused make it generic.

Contributor guide

refactor(connector) : Move connector specific functions in utils 路 juspay/hyperswitch#7926 | Good First Issue