feat(connector): [Adyen] add PMD validation in validate_capture_method method for all the implemented PM’s (#3584)

This commit is contained in:
Swangi Kumari
2024-02-14 16:35:55 +05:30
committed by GitHub
parent e702341c64
commit 0c46f39b9e
42 changed files with 195 additions and 12 deletions

View File

@ -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 {