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): [proxy] remove validation for card_with_limited_data (#12365)

Sakil Mostakc735d42601fd
diff --git a/crates/router/src/core/payments/helpers.rs b/crates/router/src/core/payments/helpers.rs
index b0e88e61f8..88261e0fc6 100644
--- a/crates/router/src/core/payments/helpers.rs
+++ b/crates/router/src/core/payments/helpers.rs
@@ -1396,7 +1396,8 @@ fn validate_recurring_mandate(req: api::MandateValidationFields) -> RouterResult
RecurringDetails::ProcessorPaymentToken(_)
| RecurringDetails::NetworkTransactionIdAndCardDetails(_)
| RecurringDetails::NetworkTransactionIdAndDecryptedWalletTokenDetails(_)
- | RecurringDetails::NetworkTransactionIdAndNetworkTokenDetails(_) => Ok(()),
+ | RecurringDetails::NetworkTransactionIdAndNetworkTokenDetails(_)
+ | RecurringDetails::CardWithLimitedData(_) => Ok(()),
_ => {
req.customer_id.check_value_present("customer_id")?;