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

feat(connector): [ADYEN ] Consume transaction id for PaymentsPreProcessing error (#7061)

Debarati Ghatak199d1764488f
diff --git a/crates/router/src/connector/adyen.rs b/crates/router/src/connector/adyen.rs
index b9ab7ea87e..d6f6fdc8f0 100644
--- a/crates/router/src/connector/adyen.rs
+++ b/crates/router/src/connector/adyen.rs
@@ -1001,7 +1001,7 @@ impl
reason: Some(consts::LOW_BALANCE_ERROR_MESSAGE.to_string()),
status_code: res.status_code,
attempt_status: Some(enums::AttemptStatus::Failure),
- connector_transaction_id: None,
+ connector_transaction_id: Some(response.psp_reference),
}),
..data.clone()
})