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(connector): [ADYEN] Remove recurringProcessingModel for CIT transactions (#11512)

DEEPANSHU BANSALfe9202870e08
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
index b3f803bc20..93d56403dd 100644
--- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
@@ -2063,11 +2063,7 @@ fn get_recurring_processing_model(
let store_payment_method = item.request.is_mandate_payment();
let shopper_reference =
shopper_reference.ok_or_else(missing_field_err("connector_customer_id"))?;
- Ok((
- Some(AdyenRecurringModel::UnscheduledCardOnFile),
- Some(store_payment_method),
- Some(shopper_reference),
- ))
+ Ok((None, Some(store_payment_method), Some(shopper_reference)))
}
// Off-session payment
(_, Some(true)) => {