mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	feat: add default pm_filters (#1493)
Co-authored-by: Narayan Bhat <48803246+Narayanbhat166@users.noreply.github.com>
This commit is contained in:
		| @ -1248,6 +1248,7 @@ fn filter_pm_based_on_config<'a>( | ||||
|     config | ||||
|         .0 | ||||
|         .get(connector) | ||||
|         .or_else(|| config.0.get("default")) | ||||
|         .and_then(|inner| match payment_method_type { | ||||
|             api_enums::PaymentMethodType::Credit | api_enums::PaymentMethodType::Debit => { | ||||
|                 card_network_filter(country, currency, card_network, inner); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Hrithikesh
					Hrithikesh