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:
Sahkal Poddar
2024-12-16 19:15:32 +05:30
committed by GitHub
parent c22be0c927
commit 165ead6108
50 changed files with 1354 additions and 922 deletions

View File

@ -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,
}
}