mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-04 05:59:48 +08:00 
			
		
		
		
	feat(connector): [Adyen] add PMD validation in validate_capture_method method for all the implemented PM’s (#3584)
This commit is contained in:
		@ -138,6 +138,7 @@ impl ConnectorValidation for Square {
 | 
			
		||||
    fn validate_capture_method(
 | 
			
		||||
        &self,
 | 
			
		||||
        capture_method: Option<enums::CaptureMethod>,
 | 
			
		||||
        _pmt: Option<enums::PaymentMethodType>,
 | 
			
		||||
    ) -> CustomResult<(), errors::ConnectorError> {
 | 
			
		||||
        let capture_method = capture_method.unwrap_or_default();
 | 
			
		||||
        match capture_method {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user