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

refactor: remove unnecessary debug logs from payment method list api (#1884)

Chethan Raoba82f173dbcc
diff --git a/crates/router/src/core/payment_methods/cards.rs b/crates/router/src/core/payment_methods/cards.rs
index 571b55e9e5..b84d01a052 100644
--- a/crates/router/src/core/payment_methods/cards.rs
+++ b/crates/router/src/core/payment_methods/cards.rs
@@ -1453,8 +1453,6 @@ fn filter_pm_card_network_based(
request_card_networks: Option<&Vec<api_enums::CardNetwork>>,
pm_type: &api_enums::PaymentMethodType,
) -> bool {
- logger::debug!(pm_card_networks=?pm_card_networks);
- logger::debug!(request_card_networks=?request_card_networks);
match pm_type {
api_enums::PaymentMethodType::Credit | api_enums::PaymentMethodType::Debit => {
match (pm_card_networks, request_card_networks) {