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): [NETCETERA] add accept-language in browser_information for netcetera authentication request (#7059)

Sai Harsha Vardhanaa8e2e73ebda
diff --git a/crates/router/src/connector/netcetera/netcetera_types.rs b/crates/router/src/connector/netcetera/netcetera_types.rs
index ac6aad8c13..a69798314b 100644
--- a/crates/router/src/connector/netcetera/netcetera_types.rs
+++ b/crates/router/src/connector/netcetera/netcetera_types.rs
@@ -1388,7 +1388,8 @@ impl From<crate::types::BrowserInformation> for Browser {
browser_user_agent: value.user_agent,
challenge_window_size: Some(ChallengeWindowSizeEnum::FullScreen),
browser_javascript_enabled: value.java_script_enabled,
- accept_language: None,
+ // Hardcoding to "en" for now, as there's no accept_language in BrowserInformation
+ accept_language: Some(vec!["en".to_string()]),
}
}
}