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(core): allow accepting liability during arbitration stage (#9504)

AkshayaFoigerfb52869c7a89
diff --git a/crates/router/src/core/utils.rs b/crates/router/src/core/utils.rs
index 38b9566d35..df548fe640 100644
--- a/crates/router/src/core/utils.rs
+++ b/crates/router/src/core/utils.rs
@@ -2613,7 +2613,10 @@ pub fn should_proceed_with_accept_dispute(
) -> bool {
matches!(
dispute_stage,
- DisputeStage::PreDispute | DisputeStage::Dispute | DisputeStage::PreArbitration
+ DisputeStage::PreDispute
+ | DisputeStage::Dispute
+ | DisputeStage::PreArbitration
+ | DisputeStage::Arbitration
) && matches!(
dispute_status,
DisputeStatus::DisputeChallenged | DisputeStatus::DisputeOpened