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(router): [NETCETERA] skip sending browser_information in authentication request for app device_channel (#4613)
Sai Harsha Vardhand2a496cf4dda
diff --git a/crates/router/src/connector/netcetera/transformers.rs b/crates/router/src/connector/netcetera/transformers.rsindex 4bf61ce1ca..90cf465e82 100644--- a/crates/router/src/connector/netcetera/transformers.rs+++ b/crates/router/src/connector/netcetera/transformers.rs@@ -547,7 +547,12 @@ impl TryFrom<&NetceteraRouterData<&types::authentication::ConnectorAuthenticatioseller_info: None,results_response_notification_url: Some(request.webhook_url),};- let browser_information = request.browser_details.map(netcetera_types::Browser::from);+ let browser_information = match request.device_channel {+ api_models::payments::DeviceChannel::Browser => {+ request.browser_details.map(netcetera_types::Browser::from)+ }+ api_models::payments::DeviceChannel::App => None,+ };let sdk_information = request.sdk_information.map(netcetera_types::Sdk::from);let device_render_options = match request.device_channel {api_models::payments::DeviceChannel::App => {