Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(connector): [Deutschebank] Display deutschebank card payment method in dashboard (#7060)

Debarshi Guptaf71cc96a33ee
diff --git a/crates/connector_configs/toml/development.toml b/crates/connector_configs/toml/development.toml
index 2ab348d5dd..190114fee3 100644
--- a/crates/connector_configs/toml/development.toml
+++ b/crates/connector_configs/toml/development.toml
@@ -1408,6 +1408,14 @@ api_secret="Shared Secret"
[deutschebank]
[[deutschebank.bank_debit]]
payment_method_type = "sepa"
+[[deutschebank.credit]]
+ payment_method_type = "Visa"
+[[deutschebank.credit]]
+ payment_method_type = "Mastercard"
+[[deutschebank.debit]]
+ payment_method_type = "Visa"
+[[deutschebank.debit]]
+ payment_method_type = "Mastercard"
[deutschebank.connector_auth.SignatureKey]
api_key="Client ID"
key1="Merchant ID"
diff --git a/crates/connector_configs/toml/production.toml b/crates/connector_configs/toml/production.toml
index 5b963e0780..f1745587a6 100644
--- a/crates/connector_configs/toml/production.toml
+++ b/crates/connector_configs/toml/production.toml
@@ -1143,6 +1143,14 @@ type="Text"
[deutschebank]
[[deutschebank.bank_debit]]
payment_method_type = "sepa"
+[[deutschebank.credit]]
+ payment_method_type = "Visa"
+[[deutschebank.credit]]
+ payment_method_type = "Mastercard"
+[[deutschebank.debit]]
+ payment_method_type = "Visa"
+[[deutschebank.debit]]
+ payment_method_type = "Mastercard"
[deutschebank.connector_auth.SignatureKey]
api_key="Client ID"
key1="Merchant ID"
diff --git a/crates/connector_configs/toml/sandbox.toml b/crates/connector_configs/toml/sandbox.toml
index 50c13dc859..2a83d62ee9 100644
--- a/crates/connector_configs/toml/sandbox.toml
+++ b/crates/connector_configs/toml/sandbox.toml
@@ -1357,6 +1357,14 @@ api_secret="Shared Secret"
[deutschebank]
[[deutschebank.bank_debit]]
payment_method_type = "sepa"
+[[deutschebank.credit]]
+ payment_method_type = "Visa"
+[[deutschebank.credit]]
+ payment_method_type = "Mastercard"
+[[deutschebank.debit]]
+ payment_method_type = "Visa"
+[[deutschebank.debit]]
+ payment_method_type = "Mastercard"
[deutschebank.connector_auth.SignatureKey]
api_key="Client ID"
key1="Merchant ID"
diff --git a/crates/hyperswitch_connectors/src/connectors/deutschebank.rs b/crates/hyperswitch_connectors/src/connectors/deutschebank.rs
index f98d6843be..d7dcb63c47 100644
--- a/crates/hyperswitch_connectors/src/connectors/deutschebank.rs
+++ b/crates/hyperswitch_connectors/src/connectors/deutschebank.rs
@@ -1016,6 +1016,25 @@ lazy_static! {
}
);
+ deutschebank_supported_payment_methods.add(
+ enums::PaymentMethod::Card,
+ enums::PaymentMethodType::Debit,
+ PaymentMethodDetails{
+ mandates: enums::FeatureStatus::NotSupported,
+ refunds: enums::FeatureStatus::Supported,
+ supported_capture_methods: supported_capture_methods.clone(),
+ specific_features: Some(
+ api_models::feature_matrix::PaymentMethodSpecificFeatures::Card({
+ api_models::feature_matrix::CardSpecificFeatures {
+ three_ds: common_enums::FeatureStatus::Supported,
+ non_three_ds: common_enums::FeatureStatus::NotSupported,
+ supported_card_networks: supported_card_network.clone(),
+ }
+ }),
+ ),
+ }
+ );
+
deutschebank_supported_payment_methods
};