From d52b564f09c63067b56684fa36d8940e45ccfccc Mon Sep 17 00:00:00 2001 From: Arjun Karthik Date: Tue, 18 Jul 2023 19:29:50 +0530 Subject: [PATCH] fix(connector): [PowerTranz] fix rsync not implemented error (#1734) --- crates/router/src/connector/powertranz.rs | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) 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]