mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	refactor: incorporate hyperswitch_interface into router (#3669)
				
					
				
			Co-authored-by: Narayan Bhat <narayan.bhat@juspay.in>
This commit is contained in:
		| @ -15,7 +15,7 @@ use super::payouts::PayoutData; | ||||
| #[cfg(feature = "payouts")] | ||||
| use crate::core::payments; | ||||
| use crate::{ | ||||
|     configs::settings, | ||||
|     configs::Settings, | ||||
|     consts, | ||||
|     core::errors::{self, RouterResult, StorageErrorExt}, | ||||
|     db::StorageInterface, | ||||
| @ -942,7 +942,7 @@ pub async fn construct_retrieve_file_router_data<'a>( | ||||
| } | ||||
|  | ||||
| pub fn is_merchant_enabled_for_payment_id_as_connector_request_id( | ||||
|     conf: &settings::Settings, | ||||
|     conf: &Settings, | ||||
|     merchant_id: &str, | ||||
| ) -> bool { | ||||
|     let config_map = &conf | ||||
| @ -952,7 +952,7 @@ pub fn is_merchant_enabled_for_payment_id_as_connector_request_id( | ||||
| } | ||||
|  | ||||
| pub fn get_connector_request_reference_id( | ||||
|     conf: &settings::Settings, | ||||
|     conf: &Settings, | ||||
|     merchant_id: &str, | ||||
|     payment_attempt: &data_models::payments::payment_attempt::PaymentAttempt, | ||||
| ) -> String { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Chethan Rao
					Chethan Rao