From 4bdc3237e1db9366a1092c4b3bfa9cd7420f02bf Mon Sep 17 00:00:00 2001 From: Debarshi Gupta Date: Fri, 27 Dec 2024 15:11:19 +0530 Subject: [PATCH] chore: Added supported payment methods for deutschebank --- .../src/connectors/deutschebank.rs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/crates/hyperswitch_connectors/src/connectors/deutschebank.rs b/crates/hyperswitch_connectors/src/connectors/deutschebank.rs index c75f08125deb..f4d5fe5fdf15 100644 --- a/crates/hyperswitch_connectors/src/connectors/deutschebank.rs +++ b/crates/hyperswitch_connectors/src/connectors/deutschebank.rs @@ -984,17 +984,7 @@ lazy_static! { enums::PaymentMethod::BankDebit, enums::PaymentMethodType::Sepa, PaymentMethodDetails{ - mandates: enums::FeatureStatus::NotSupported, - refunds: enums::FeatureStatus::NotSupported, - supported_capture_methods: supported_capture_methods.clone(), - } - ); - - deutschebank_supported_payment_methods.add( - enums::PaymentMethod::Card, - enums::PaymentMethodType::Credit, - PaymentMethodDetails{ - mandates: enums::FeatureStatus::NotSupported, + mandates: enums::FeatureStatus::Supported, refunds: enums::FeatureStatus::Supported, supported_capture_methods: supported_capture_methods.clone(), } @@ -1002,7 +992,7 @@ lazy_static! { deutschebank_supported_payment_methods.add( enums::PaymentMethod::Card, - enums::PaymentMethodType::Debit, + enums::PaymentMethodType::Credit, PaymentMethodDetails{ mandates: enums::FeatureStatus::NotSupported, refunds: enums::FeatureStatus::Supported,