Skip to content

Commit

Permalink
feat(connector): [DEUTSCHE] Add template code (#5774)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepanshu-iiitu committed Sep 3, 2024
1 parent f4be2bc commit 42f945f
Show file tree
Hide file tree
Showing 25 changed files with 1,312 additions and 8 deletions.
2 changes: 2 additions & 0 deletions config/config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ coinbase.base_url = "https://api.commerce.coinbase.com"
cryptopay.base_url = "https://business-sandbox.cryptopay.me"
cybersource.base_url = "https://apitest.cybersource.com/"
datatrans.base_url = "https://api.sandbox.datatrans.com/"
deutschebank.base_url = "https://sandbox.directpos.de/rest-api/services/v2.1"
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
Expand Down Expand Up @@ -305,6 +306,7 @@ cards = [
"checkout",
"cybersource",
"datatrans",
"deutschebank",
"globalpay",
"globepay",
"gocardless",
Expand Down
1 change: 1 addition & 0 deletions config/deployments/integration_test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ coinbase.base_url = "https://api.commerce.coinbase.com"
cryptopay.base_url = "https://business-sandbox.cryptopay.me"
cybersource.base_url = "https://apitest.cybersource.com/"
datatrans.base_url = "https://api.sandbox.datatrans.com/"
deutschebank.base_url = "https://sandbox.directpos.de/rest-api/services/v2.1"
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
Expand Down
1 change: 1 addition & 0 deletions config/deployments/production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ cryptopay.base_url = "https://business.cryptopay.me/"
cybersource.base_url = "https://api.cybersource.com/"
datatrans.base_url = "https://api.datatrans.com/"
dlocal.base_url = "https://sandbox.dlocal.com/"
deutschebank.base_url = "https://merch.directpos.de/rest-api/services/v2.1"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
Expand Down
1 change: 1 addition & 0 deletions config/deployments/sandbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ cryptopay.base_url = "https://business-sandbox.cryptopay.me"
cybersource.base_url = "https://apitest.cybersource.com/"
datatrans.base_url = "https://api.sandbox.datatrans.com/"
dlocal.base_url = "https://sandbox.dlocal.com/"
deutschebank.base_url = "https://sandbox.directpos.de/rest-api/services/v2.1"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
fiserv.base_url = "https://cert.api.fiservapps.com/"
Expand Down
2 changes: 2 additions & 0 deletions config/development.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ cards = [
"cryptopay",
"cybersource",
"datatrans",
"deutschebank",
"dlocal",
"dummyconnector",
"ebanx",
Expand Down Expand Up @@ -209,6 +210,7 @@ coinbase.base_url = "https://api.commerce.coinbase.com"
cryptopay.base_url = "https://business-sandbox.cryptopay.me"
cybersource.base_url = "https://apitest.cybersource.com/"
datatrans.base_url = "https://api.sandbox.datatrans.com/"
deutschebank.base_url = "https://sandbox.directpos.de/rest-api/services/v2.1"
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
Expand Down
2 changes: 2 additions & 0 deletions config/docker_compose.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ coinbase.base_url = "https://api.commerce.coinbase.com"
cryptopay.base_url = "https://business-sandbox.cryptopay.me"
cybersource.base_url = "https://apitest.cybersource.com/"
datatrans.base_url = "https://api.sandbox.datatrans.com/"
deutschebank.base_url = "https://sandbox.directpos.de/rest-api/services/v2.1"
dlocal.base_url = "https://sandbox.dlocal.com/"
dummyconnector.base_url = "http://localhost:8080/dummy-connector"
ebanx.base_url = "https://sandbox.ebanxpay.com/"
Expand Down Expand Up @@ -222,6 +223,7 @@ cards = [
"cryptopay",
"cybersource",
"datatrans",
"deutschebank",
"dlocal",
"dummyconnector",
"ebanx",
Expand Down
2 changes: 2 additions & 0 deletions crates/api_models/src/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ pub enum Connector {
Cryptopay,
Cybersource,
Datatrans,
// Deutschebank,
Dlocal,
Ebanx,
Fiserv,
Expand Down Expand Up @@ -231,6 +232,7 @@ impl Connector {
| Self::Cashtocode
| Self::Coinbase
| Self::Cryptopay
// | Self::Deutschebank
| Self::Dlocal
| Self::Ebanx
| Self::Fiserv
Expand Down
1 change: 1 addition & 0 deletions crates/common_enums/src/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ pub enum RoutableConnectors {
Cryptopay,
Cybersource,
Datatrans,
// Deutschebank,
Dlocal,
Ebanx,
Fiserv,
Expand Down
8 changes: 5 additions & 3 deletions crates/hyperswitch_connectors/src/connectors.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub mod bambora;
pub mod bitpay;
pub mod deutschebank;
pub mod fiserv;
pub mod fiservemea;
pub mod fiuu;
Expand All @@ -14,7 +15,8 @@ pub mod tsys;
pub mod worldline;

pub use self::{
bambora::Bambora, bitpay::Bitpay, fiserv::Fiserv, fiservemea::Fiservemea, fiuu::Fiuu,
globepay::Globepay, helcim::Helcim, nexixpay::Nexixpay, novalnet::Novalnet,
powertranz::Powertranz, stax::Stax, taxjar::Taxjar, tsys::Tsys, worldline::Worldline,
bambora::Bambora, bitpay::Bitpay, deutschebank::Deutschebank, fiserv::Fiserv,
fiservemea::Fiservemea, fiuu::Fiuu, globepay::Globepay, helcim::Helcim, nexixpay::Nexixpay,
novalnet::Novalnet, powertranz::Powertranz, stax::Stax, taxjar::Taxjar, tsys::Tsys,
worldline::Worldline,
};
Loading

0 comments on commit 42f945f

Please sign in to comment.