Skip to content

Commit

Permalink
fix(connector): [noon] add validate psync reference (#2886)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamraatBansal authored Nov 16, 2023
1 parent d634fde commit b129023
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/router/src/connector/noon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b129023

Please sign in to comment.