mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	fix(connector): [PowerTranz] fix rsync not implemented error (#1734)
This commit is contained in:
		| @ -332,16 +332,7 @@ impl | |||||||
| impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> | impl ConnectorIntegration<api::PSync, types::PaymentsSyncData, types::PaymentsResponseData> | ||||||
|     for Powertranz |     for Powertranz | ||||||
| { | { | ||||||
|     fn build_request( |     // default implementation of build_request method will be executed | ||||||
|         &self, |  | ||||||
|         _req: &types::PaymentsSyncRouterData, |  | ||||||
|         _connectors: &settings::Connectors, |  | ||||||
|     ) -> CustomResult<Option<services::Request>, errors::ConnectorError> { |  | ||||||
|         Err(errors::ConnectorError::FlowNotSupported { |  | ||||||
|             flow: "Payment Sync".to_string(), |  | ||||||
|             connector: "PowerTranz".to_string(), |  | ||||||
|         })? |  | ||||||
|     } |  | ||||||
| } | } | ||||||
|  |  | ||||||
| impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> | impl ConnectorIntegration<api::Capture, types::PaymentsCaptureData, types::PaymentsResponseData> | ||||||
| @ -574,16 +565,7 @@ impl ConnectorIntegration<api::Execute, types::RefundsData, types::RefundsRespon | |||||||
| impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> | impl ConnectorIntegration<api::RSync, types::RefundsData, types::RefundsResponseData> | ||||||
|     for Powertranz |     for Powertranz | ||||||
| { | { | ||||||
|     fn build_request( |     // default implementation of build_request method will be executed | ||||||
|         &self, |  | ||||||
|         _req: &types::RefundSyncRouterData, |  | ||||||
|         _connectors: &settings::Connectors, |  | ||||||
|     ) -> CustomResult<Option<services::Request>, errors::ConnectorError> { |  | ||||||
|         Err(errors::ConnectorError::FlowNotSupported { |  | ||||||
|             flow: "Refund Sync".to_string(), |  | ||||||
|             connector: "PowerTranz".to_string(), |  | ||||||
|         })? |  | ||||||
|     } |  | ||||||
| } | } | ||||||
|  |  | ||||||
| #[async_trait::async_trait] | #[async_trait::async_trait] | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Arjun Karthik
					Arjun Karthik