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(core): populate error_message for payments_list api (#11054)

Swangi Kumarie3d45baa91f1
diff --git a/crates/router/src/core/payments/transformers.rs b/crates/router/src/core/payments/transformers.rs
index b1c4e257eb..a5aadec281 100644
--- a/crates/router/src/core/payments/transformers.rs
+++ b/crates/router/src/core/payments/transformers.rs
@@ -4302,7 +4302,7 @@ impl
next_action: None,
cancellation_reason: None,
error_code: None,
- error_message: None,
+ error_message: pa.error_message,
unified_code: None,
unified_message: None,
error_details: None,