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): RSync voided status mapping in AuthorizeDotNet (#7566)
Anurag8512bf3ea549
diff --git a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs b/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rsindex 2d329ec82f..deefa7a159 100644--- a/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs+++ b/crates/hyperswitch_connectors/src/connectors/authorizedotnet/transformers.rs@@ -1562,6 +1562,7 @@ pub enum RSyncStatus {RefundPendingSettlement,Declined,GeneralError,+ Voided,}#[derive(Debug, Deserialize, Serialize)]@@ -1615,7 +1616,9 @@ impl From<RSyncStatus> for enums::RefundStatus {match transaction_status {RSyncStatus::RefundSettledSuccessfully => Self::Success,RSyncStatus::RefundPendingSettlement => Self::Pending,- RSyncStatus::Declined | RSyncStatus::GeneralError => Self::Failure,+ RSyncStatus::Declined | RSyncStatus::GeneralError | RSyncStatus::Voided => {+ Self::Failure+ }}}}