mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
fix(connector): [ADYEN] send browser_info for all the card and googlepay payments (#5153)
This commit is contained in:
committed by
GitHub
parent
6d9b37e8a2
commit
a172cba5d3
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user