mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(core): add support for connectors having separate version call for pre authentication (#4603)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -273,6 +273,15 @@ pub enum AuthenticationConnectors {
|
||||
Gpayments,
|
||||
}
|
||||
|
||||
impl AuthenticationConnectors {
|
||||
pub fn is_separate_version_call_required(&self) -> bool {
|
||||
match self {
|
||||
Self::Threedsecureio | Self::Netcetera => false,
|
||||
Self::Gpayments => true,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "payouts")]
|
||||
#[derive(
|
||||
Clone,
|
||||
|
||||
Reference in New Issue
Block a user