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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
fix(connector): [noon] add missing response status (#2528)
SamraatBansal808ee45556f9
diff --git a/crates/router/src/connector/noon/transformers.rs b/crates/router/src/connector/noon/transformers.rsindex 3e584e204a..5300525b7c 100644--- a/crates/router/src/connector/noon/transformers.rs+++ b/crates/router/src/connector/noon/transformers.rs@@ -326,6 +326,8 @@ pub enum NoonPaymentStatus {Failed,#[default]Pending,+ Expired,+ Rejected,}impl From<NoonPaymentStatus> for enums::AttemptStatus {@@ -334,11 +336,11 @@ impl From<NoonPaymentStatus> for enums::AttemptStatus {NoonPaymentStatus::Authorized => Self::Authorized,NoonPaymentStatus::Captured | NoonPaymentStatus::PartiallyCaptured => Self::Charged,NoonPaymentStatus::Reversed => Self::Voided,- NoonPaymentStatus::Cancelled => Self::AuthenticationFailed,+ NoonPaymentStatus::Cancelled | NoonPaymentStatus::Expired => Self::AuthenticationFailed,NoonPaymentStatus::ThreeDsEnrollInitiated | NoonPaymentStatus::ThreeDsEnrollChecked => {Self::AuthenticationPending}- NoonPaymentStatus::Failed => Self::Failure,+ NoonPaymentStatus::Failed | NoonPaymentStatus::Rejected => Self::Failure,NoonPaymentStatus::Pending => Self::Pending,}}