mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
feat(core): Add click to pay support in hyperswitch (#6769)
Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com>
This commit is contained in:
@ -2591,12 +2591,17 @@ pub enum AuthenticationConnectors {
|
||||
Threedsecureio,
|
||||
Netcetera,
|
||||
Gpayments,
|
||||
CtpMastercard,
|
||||
UnifiedAuthenticationService,
|
||||
}
|
||||
|
||||
impl AuthenticationConnectors {
|
||||
pub fn is_separate_version_call_required(self) -> bool {
|
||||
match self {
|
||||
Self::Threedsecureio | Self::Netcetera => false,
|
||||
Self::Threedsecureio
|
||||
| Self::Netcetera
|
||||
| Self::CtpMastercard
|
||||
| Self::UnifiedAuthenticationService => false,
|
||||
Self::Gpayments => true,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user