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(payments): populate merchant connector id and profile id in list (#4104)

Apoorv Dixit1dac0286bb40
diff --git a/crates/router/src/core/payments/transformers.rs b/crates/router/src/core/payments/transformers.rs
index caed1b3a12..2bd5c467b5 100644
--- a/crates/router/src/core/payments/transformers.rs
+++ b/crates/router/src/core/payments/transformers.rs
@@ -957,6 +957,8 @@ impl ForeignFrom<(storage::PaymentIntent, storage::PaymentAttempt)> for api::Pay
authentication_type: pa.authentication_type,
connector_transaction_id: pa.connector_transaction_id,
attempt_count: pi.attempt_count,
+ profile_id: pi.profile_id,
+ merchant_connector_id: pa.merchant_connector_id,
..Default::default()
}
}