Skip to content

Commit b129023

Browse files
fix(connector): [noon] add validate psync reference (#2886)
1 parent d634fde commit b129023

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crates/router/src/connector/noon.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,14 @@ impl ConnectorValidation for Noon {
154154
),
155155
}
156156
}
157+
158+
fn validate_psync_reference_id(
159+
&self,
160+
_data: &types::PaymentsSyncRouterData,
161+
) -> CustomResult<(), errors::ConnectorError> {
162+
// since we can make psync call with our reference_id, having connector_transaction_id is not an mandatory criteria
163+
Ok(())
164+
}
157165
}
158166

159167
impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData>

0 commit comments

Comments
 (0)