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): [INESPAY] Added iban as required field in Inespay (#7350)

Sagnik Mitra2db2738cf8c8
diff --git a/crates/router/src/configs/defaults/payment_connector_required_fields.rs b/crates/router/src/configs/defaults/payment_connector_required_fields.rs
index 440a63452b..165fc67926 100644
--- a/crates/router/src/configs/defaults/payment_connector_required_fields.rs
+++ b/crates/router/src/configs/defaults/payment_connector_required_fields.rs
@@ -12623,6 +12623,24 @@ impl Default for settings::RequiredFields {
)
]),
}
+ ),
+ (
+ enums::Connector::Inespay,
+ RequiredFieldFinal {
+ mandate: HashMap::new(),
+ non_mandate: HashMap::new(),
+ common: HashMap::from([
+ (
+ "payment_method_data.bank_debit.sepa_bank_debit.iban".to_string(),
+ RequiredFieldInfo {
+ required_field: "payment_method_data.bank_debit.sepa_bank_debit.iban".to_string(),
+ display_name: "iban".to_string(),
+ field_type: enums::FieldType::UserIban,
+ value: None,
+ }
+ )
+ ]),
+ }
)
]),
},