mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat: PG Agnostic mandate using network_txns_id (Adyen, Authorizedotnet, Stripe) (#855)
Co-authored-by: Arun Raj M <jarnura47@gmail.com>
This commit is contained in:
		| @ -63,6 +63,7 @@ pub async fn construct_refund_router_data<'a, F>( | ||||
|     let router_data = types::RouterData { | ||||
|         flow: PhantomData, | ||||
|         merchant_id: merchant_account.merchant_id.clone(), | ||||
|         customer_id: payment_intent.customer_id.to_owned(), | ||||
|         connector: connector_id.to_string(), | ||||
|         payment_id: payment_attempt.payment_id.clone(), | ||||
|         attempt_id: payment_attempt.attempt_id.clone(), | ||||
| @ -96,6 +97,7 @@ pub async fn construct_refund_router_data<'a, F>( | ||||
|         session_token: None, | ||||
|         reference_id: None, | ||||
|         payment_method_token: None, | ||||
|         connector_customer: None, | ||||
|     }; | ||||
|  | ||||
|     Ok(router_data) | ||||
| @ -279,6 +281,8 @@ pub async fn construct_accept_dispute_router_data<'a>( | ||||
|         session_token: None, | ||||
|         reference_id: None, | ||||
|         payment_method_token: None, | ||||
|         connector_customer: None, | ||||
|         customer_id: None, | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
| @ -336,6 +340,8 @@ pub async fn construct_submit_evidence_router_data<'a>( | ||||
|         session_token: None, | ||||
|         reference_id: None, | ||||
|         payment_method_token: None, | ||||
|         connector_customer: None, | ||||
|         customer_id: None, | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
| @ -398,6 +404,8 @@ pub async fn construct_upload_file_router_data<'a>( | ||||
|         session_token: None, | ||||
|         reference_id: None, | ||||
|         payment_method_token: None, | ||||
|         connector_customer: None, | ||||
|         customer_id: None, | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
| @ -457,6 +465,8 @@ pub async fn construct_defend_dispute_router_data<'a>( | ||||
|         session_token: None, | ||||
|         reference_id: None, | ||||
|         payment_method_token: None, | ||||
|         customer_id: None, | ||||
|         connector_customer: None, | ||||
|     }; | ||||
|     Ok(router_data) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Manoj Ghorela
					Manoj Ghorela