Skip to content

Commit 6c77f30

Browse files
Anurag SinghAnurag Singh
authored andcommitted
feat: add multiple capture sync support in imerchant solutions connector
1 parent ab9f5b0 commit 6c77f30

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

crates/hyperswitch_connectors/src/connectors/imerchantsolutions.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ use hyperswitch_domain_models::{
3434
};
3535
use hyperswitch_interfaces::{
3636
api::{
37-
self, ConnectorCommon, ConnectorCommonExt, ConnectorIntegration, ConnectorSpecifications,
38-
ConnectorValidation,
37+
self, CaptureSyncMethod, ConnectorCommon, ConnectorCommonExt, ConnectorIntegration,
38+
ConnectorSpecifications, ConnectorValidation,
3939
},
4040
configs::Connectors,
4141
errors,
@@ -357,6 +357,12 @@ impl ConnectorIntegration<PSync, PaymentsSyncData, PaymentsResponseData> for Ime
357357
) -> CustomResult<ErrorResponse, errors::ConnectorError> {
358358
self.build_error_response(res, event_builder)
359359
}
360+
361+
fn get_multiple_capture_sync_method(
362+
&self,
363+
) -> CustomResult<CaptureSyncMethod, errors::ConnectorError> {
364+
Ok(CaptureSyncMethod::Individual)
365+
}
360366
}
361367

362368
impl ConnectorIntegration<Capture, PaymentsCaptureData, PaymentsResponseData>

0 commit comments

Comments
 (0)