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] Revert: Remove recurringProcessingModel for CIT transactions (#11541)

DEEPANSHU BANSALba83ba0616ad
diff --git a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
index 93d56403dd..b3f803bc20 100644
--- a/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
+++ b/crates/hyperswitch_connectors/src/connectors/adyen/transformers.rs
@@ -2063,7 +2063,11 @@ 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((None, Some(store_payment_method), Some(shopper_reference)))
+ Ok((
+ Some(AdyenRecurringModel::UnscheduledCardOnFile),
+ Some(store_payment_method),
+ Some(shopper_reference),
+ ))
}
// Off-session payment
(_, Some(true)) => {