fix(connector): [adyen] remove browser info for mit and [paypal] add refund key in headers (#5225)

This commit is contained in:
SamraatBansal
2024-07-07 21:22:29 +05:30
committed by GitHub
parent f68cde7962
commit 5ea09c7f9d
3 changed files with 3 additions and 7 deletions

View File

@ -2525,7 +2525,7 @@ impl<'a>
let shopper_interaction = AdyenShopperInteraction::from(item.router_data);
let (recurring_processing_model, store_payment_method, shopper_reference) =
get_recurring_processing_model(item.router_data)?;
let browser_info = get_browser_info(item.router_data)?;
let browser_info = None;
let additional_data = get_additional_data(item.router_data);
let return_url = item.router_data.request.get_return_url()?;
let payment_method_type = item

View File

@ -152,7 +152,7 @@ where
.access_token
.clone()
.ok_or(errors::ConnectorError::FailedToObtainAuthType)?;
let key = &req.attempt_id;
let key = &req.connector_request_reference_id;
let auth = paypal::PaypalAuthType::try_from(&req.connector_auth_type)?;
let mut headers = vec![
(

View File

@ -353,11 +353,7 @@ pub async fn construct_refund_router_data<'a, F>(
connector_customer: None,
recurring_mandate_payment_data: None,
preprocessing_id: None,
connector_request_reference_id: get_connector_request_reference_id(
&state.conf,
&merchant_account.merchant_id,
payment_attempt,
),
connector_request_reference_id: refund.refund_id.clone(),
#[cfg(feature = "payouts")]
payout_method_data: None,
#[cfg(feature = "payouts")]