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): Supported capture methods fix for feature matrix (#8057)

sweta-sharma6e03fc843952
diff --git a/crates/hyperswitch_connectors/src/connectors/itaubank.rs b/crates/hyperswitch_connectors/src/connectors/itaubank.rs
index 9c5ab5b300..0b6dd44073 100644
--- a/crates/hyperswitch_connectors/src/connectors/itaubank.rs
+++ b/crates/hyperswitch_connectors/src/connectors/itaubank.rs
@@ -798,6 +798,7 @@ impl IncomingWebhook for Itaubank {
static ITAUBANK_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> =
LazyLock::new(|| {
let mut itaubank_supported_payment_methods = SupportedPaymentMethods::new();
+ let supported_capture_methods = vec![enums::CaptureMethod::Automatic];
itaubank_supported_payment_methods.add(
enums::PaymentMethod::BankTransfer,
@@ -805,7 +806,7 @@ static ITAUBANK_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> =
PaymentMethodDetails {
mandates: enums::FeatureStatus::NotSupported,
refunds: enums::FeatureStatus::Supported,
- supported_capture_methods: Vec::new(),
+ supported_capture_methods,
specific_features: None,
},
);
diff --git a/crates/hyperswitch_connectors/src/connectors/nuvei.rs b/crates/hyperswitch_connectors/src/connectors/nuvei.rs
index c6df1c0106..853b9fd968 100644
--- a/crates/hyperswitch_connectors/src/connectors/nuvei.rs
+++ b/crates/hyperswitch_connectors/src/connectors/nuvei.rs
@@ -948,6 +948,7 @@ impl ConnectorRedirectResponse for Nuvei {
static NUVEI_SUPPORTED_PAYMENT_METHODS: LazyLock<SupportedPaymentMethods> = LazyLock::new(|| {
let supported_capture_methods = vec![
enums::CaptureMethod::Automatic,
+ enums::CaptureMethod::Manual,
enums::CaptureMethod::SequentialAutomatic,
];