diff --git a/crates/router/src/connector/powertranz.rs b/crates/router/src/connector/powertranz.rs index d2ef9a034e..bab02f5e23 100644 --- a/crates/router/src/connector/powertranz.rs +++ b/crates/router/src/connector/powertranz.rs @@ -332,16 +332,7 @@ impl impl ConnectorIntegration for Powertranz { - fn build_request( - &self, - _req: &types::PaymentsSyncRouterData, - _connectors: &settings::Connectors, - ) -> CustomResult, errors::ConnectorError> { - Err(errors::ConnectorError::FlowNotSupported { - flow: "Payment Sync".to_string(), - connector: "PowerTranz".to_string(), - })? - } + // default implementation of build_request method will be executed } impl ConnectorIntegration @@ -574,16 +565,7 @@ impl ConnectorIntegration for Powertranz { - fn build_request( - &self, - _req: &types::RefundSyncRouterData, - _connectors: &settings::Connectors, - ) -> CustomResult, errors::ConnectorError> { - Err(errors::ConnectorError::FlowNotSupported { - flow: "Refund Sync".to_string(), - connector: "PowerTranz".to_string(), - })? - } + // default implementation of build_request method will be executed } #[async_trait::async_trait]