Skip to content

Commit

Permalink
refactor(connector): Move connectors Forte, Nexinets, Payeezy, Payu a…
Browse files Browse the repository at this point in the history
…nd Zen from Router to Hyperswitch Connector Trait (#6261)

Co-authored-by: Spriti Aneja <[email protected]>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 23, 2024
1 parent af0aeee commit 829a20c
Show file tree
Hide file tree
Showing 21 changed files with 1,912 additions and 1,947 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions crates/common_utils/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ pub const CELL_IDENTIFIER_LENGTH: u8 = 5;

/// General purpose base64 engine
pub const BASE64_ENGINE: base64::engine::GeneralPurpose = base64::engine::general_purpose::STANDARD;

/// URL Safe base64 engine
pub const BASE64_ENGINE_URL_SAFE: base64::engine::GeneralPurpose =
base64::engine::general_purpose::URL_SAFE;
/// Regex for matching a domain
/// Eg -
/// http://www.example.com
Expand Down
1 change: 1 addition & 0 deletions crates/hyperswitch_connectors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ error-stack = "0.4.1"
hex = "0.4.3"
http = "0.2.12"
image = { version = "0.25.1", default-features = false, features = ["png"] }
mime = "0.3.17"
once_cell = "1.19.0"
qrcode = "0.14.0"
rand = "0.8.5"
Expand Down
12 changes: 9 additions & 3 deletions crates/hyperswitch_connectors/src/connectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ pub mod dlocal;
pub mod fiserv;
pub mod fiservemea;
pub mod fiuu;
pub mod forte;
pub mod globepay;
pub mod helcim;
pub mod mollie;
pub mod nexinets;
pub mod nexixpay;
pub mod novalnet;
pub mod payeezy;
pub mod payu;
pub mod powertranz;
pub mod square;
pub mod stax;
Expand All @@ -23,12 +27,14 @@ pub mod thunes;
pub mod tsys;
pub mod volt;
pub mod worldline;
pub mod zen;

pub use self::{
bambora::Bambora, billwerk::Billwerk, bitpay::Bitpay, cashtocode::Cashtocode,
coinbase::Coinbase, cryptopay::Cryptopay, deutschebank::Deutschebank,
digitalvirgo::Digitalvirgo, dlocal::Dlocal, fiserv::Fiserv, fiservemea::Fiservemea, fiuu::Fiuu,
globepay::Globepay, helcim::Helcim, mollie::Mollie, nexixpay::Nexixpay, novalnet::Novalnet,
powertranz::Powertranz, square::Square, stax::Stax, taxjar::Taxjar, thunes::Thunes, tsys::Tsys,
volt::Volt, worldline::Worldline,
forte::Forte, globepay::Globepay, helcim::Helcim, mollie::Mollie, nexinets::Nexinets,
nexixpay::Nexixpay, novalnet::Novalnet, payeezy::Payeezy, payu::Payu, powertranz::Powertranz,
square::Square, stax::Stax, taxjar::Taxjar, thunes::Thunes, tsys::Tsys, volt::Volt,
worldline::Worldline, zen::Zen,
};
Loading

0 comments on commit 829a20c

Please sign in to comment.