Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(connector): [noon] add validate psync reference (#2886)

SamraatBansalb1290234ba13
diff --git a/crates/router/src/connector/noon.rs b/crates/router/src/connector/noon.rs
index 866f8f4c58..0ea73efd94 100644
--- a/crates/router/src/connector/noon.rs
+++ b/crates/router/src/connector/noon.rs
@@ -154,6 +154,14 @@ impl ConnectorValidation for Noon {
),
}
}
+
+ fn validate_psync_reference_id(
+ &self,
+ _data: &types::PaymentsSyncRouterData,
+ ) -> CustomResult<(), errors::ConnectorError> {
+ // since we can make psync call with our reference_id, having connector_transaction_id is not an mandatory criteria
+ Ok(())
+ }
}
impl ConnectorIntegration<api::Session, types::PaymentsSessionData, types::PaymentsResponseData>