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): populate whole connector response in payment response (#11306)

Kanika Chaudharyfc514c545c87
diff --git a/crates/router/src/core/payments/operations/payment_response.rs b/crates/router/src/core/payments/operations/payment_response.rs
index 7d0f339730..b0f0cfff19 100644
--- a/crates/router/src/core/payments/operations/payment_response.rs
+++ b/crates/router/src/core/payments/operations/payment_response.rs
@@ -1939,6 +1939,8 @@ async fn payment_response_update_tracker<F: Clone, T: types::Capturable>(
)
.await?;
+ payment_data.whole_connector_response = router_data.raw_connector_response.clone();
+
let payment_method_status = router_data.payment_method_status;
// TODO: refactor of gsm_error_category with respective feature flag