diff --git a/crates/api_models/src/enums.rs b/crates/api_models/src/enums.rs index ad849e5445..4fdc5dc488 100644 --- a/crates/api_models/src/enums.rs +++ b/crates/api_models/src/enums.rs @@ -552,6 +552,7 @@ pub enum RoutableConnectors { Globalpay, Klarna, Payu, + Rapyd, Shift4, Stripe, Worldline, diff --git a/crates/router/src/core/mandate.rs b/crates/router/src/core/mandate.rs index d962cb1d13..0ec7400410 100644 --- a/crates/router/src/core/mandate.rs +++ b/crates/router/src/core/mandate.rs @@ -183,6 +183,15 @@ where ) })?; }; + } else if resp.request.get_setup_future_usage().is_some() { + helpers::call_payment_method( + state, + merchant_account, + Some(&resp.request.get_payment_method_data()), + Some(resp.payment_method), + maybe_customer, + ) + .await?; } } }