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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(connector): [Finix] Add authentication_type check only for cards (#10010)
Vani Guptad98f11d647a7
diff --git a/crates/hyperswitch_connectors/src/connectors/finix/transformers.rs b/crates/hyperswitch_connectors/src/connectors/finix/transformers.rsindex 0a26593aee..bdf998a1cd 100644--- a/crates/hyperswitch_connectors/src/connectors/finix/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/finix/transformers.rs@@ -134,6 +134,9 @@ impl TryFrom<&FinixRouterData<'_, Authorize, PaymentsAuthorizeData, PaymentsRespitem: &FinixRouterData<'_, Authorize, PaymentsAuthorizeData, PaymentsResponseData>,) -> Result<Self, Self::Error> {if matches!(+ item.router_data.request.payment_method_data,+ PaymentMethodData::Card(_)+ ) && matches!(item.router_data.auth_type,enums::AuthenticationType::ThreeDs) {@@ -142,6 +145,7 @@ impl TryFrom<&FinixRouterData<'_, Authorize, PaymentsAuthorizeData, PaymentsResp).into());}+let source =match item.router_data.request.payment_method_data.clone() {PaymentMethodData::Card(_)