Refactor(core): remove payment_method_id from RouterData struct (#4485)

This commit is contained in:
Prajjwal Kumar
2024-04-30 12:54:49 +05:30
committed by GitHub
parent 28df646830
commit 3077a0d31e
17 changed files with 5 additions and 28 deletions

View File

@ -63,7 +63,6 @@ impl ConstructFlowSpecificData<frm_api::Checkout, FraudCheckCheckoutData, FraudC
connector_auth_type: auth_type,
description: None,
return_url: None,
payment_method_id: None,
payment_method_status: None,
address: self.address.clone(),
auth_type: storage_enums::AuthenticationType::NoThreeDs,

View File

@ -71,7 +71,6 @@ pub async fn construct_fulfillment_router_data<'a>(
connector_auth_type: auth_type,
description: None,
return_url: payment_intent.return_url.clone(),
payment_method_id: payment_attempt.payment_method_id.clone(),
address: PaymentAddress::default(),
auth_type: payment_attempt.authentication_type.unwrap_or_default(),
connector_meta_data: merchant_connector_account.get_metadata(),

View File

@ -62,7 +62,6 @@ impl ConstructFlowSpecificData<RecordReturn, FraudCheckRecordReturnData, FraudCh
connector_auth_type: auth_type,
description: None,
return_url: None,
payment_method_id: None,
address: self.address.clone(),
auth_type: storage_enums::AuthenticationType::NoThreeDs,
connector_meta_data: None,

View File

@ -58,7 +58,6 @@ impl ConstructFlowSpecificData<frm_api::Sale, FraudCheckSaleData, FraudCheckResp
connector_auth_type: auth_type,
description: None,
return_url: None,
payment_method_id: None,
address: self.address.clone(),
auth_type: storage_enums::AuthenticationType::NoThreeDs,
connector_meta_data: None,

View File

@ -69,7 +69,6 @@ impl
connector_auth_type: auth_type,
description: None,
return_url: None,
payment_method_id: None,
address: self.address.clone(),
auth_type: storage_enums::AuthenticationType::NoThreeDs,
connector_meta_data: None,