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
refactor(connector): [Authorizedotnet] fix refund status mapping (#7208)
Swangi Kumaribfcaf003427c
diff --git a/crates/router/src/connector/authorizedotnet/transformers.rs b/crates/router/src/connector/authorizedotnet/transformers.rsindex 3be2929397..d48ead5d52 100644--- a/crates/router/src/connector/authorizedotnet/transformers.rs+++ b/crates/router/src/connector/authorizedotnet/transformers.rs@@ -1361,11 +1361,12 @@ impl<F> TryFrom<&AuthorizedotnetRouterData<&types::RefundsRouterData<F>>> for Crimpl From<AuthorizedotnetRefundStatus> for enums::RefundStatus {fn from(item: AuthorizedotnetRefundStatus) -> Self {match item {- AuthorizedotnetRefundStatus::Approved => Self::Success,AuthorizedotnetRefundStatus::Declined | AuthorizedotnetRefundStatus::Error => {Self::Failure}- AuthorizedotnetRefundStatus::HeldForReview => Self::Pending,+ AuthorizedotnetRefundStatus::Approved | AuthorizedotnetRefundStatus::HeldForReview => {+ Self::Pending+ }}}}