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): [ADYEN] send `browser_info` for all the card and googlepay payments (#5153)

Sai Harsha Vardhana172cba5d357
diff --git a/crates/router/src/connector/adyen/transformers.rs b/crates/router/src/connector/adyen/transformers.rs
index 9354e7e744..9778d6d33a 100644
--- a/crates/router/src/connector/adyen/transformers.rs
+++ b/crates/router/src/connector/adyen/transformers.rs
@@ -1669,8 +1669,10 @@ fn get_browser_info(
item: &types::PaymentsAuthorizeRouterData,
) -> Result<Option<AdyenBrowserInfo>, Error> {
if item.auth_type == storage_enums::AuthenticationType::ThreeDs
+ || item.payment_method == storage_enums::PaymentMethod::Card
|| item.payment_method == storage_enums::PaymentMethod::BankRedirect
|| item.request.payment_method_type == Some(storage_enums::PaymentMethodType::GoPay)
+ || item.request.payment_method_type == Some(storage_enums::PaymentMethodType::GooglePay)
{
let info = item.request.get_browser_info()?;
Ok(Some(AdyenBrowserInfo {