feat(core): Implement UCS based upi for paytm and phonepe (#8732)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
This commit is contained in:
Uzair Khan
2025-07-31 19:17:04 +05:30
committed by GitHub
parent c6e4e7209f
commit 01e9474808
39 changed files with 3098 additions and 51 deletions

View File

@ -131,7 +131,9 @@ pub enum RoutableConnectors {
Payone,
Paypal,
Paystack,
Paytm,
Payu,
Phonepe,
Placetopay,
Powertranz,
Prophetpay,
@ -301,7 +303,9 @@ pub enum Connector {
Payone,
Paypal,
Paystack,
Paytm,
Payu,
Phonepe,
Placetopay,
Powertranz,
Prophetpay,
@ -523,7 +527,9 @@ impl Connector {
| Self::Noon
| Self::Tokenio
| Self::Stripe
| Self::Datatrans => false,
| Self::Datatrans
| Self::Paytm
| Self::Phonepe => false,
Self::Checkout | Self::Nmi |Self::Cybersource | Self::Archipel => true,
}
}
@ -684,6 +690,8 @@ impl From<RoutableConnectors> for Connector {
RoutableConnectors::Inespay => Self::Inespay,
RoutableConnectors::Coingate => Self::Coingate,
RoutableConnectors::Hipay => Self::Hipay,
RoutableConnectors::Paytm => Self::Paytm,
RoutableConnectors::Phonepe => Self::Phonepe,
}
}
}
@ -810,6 +818,8 @@ impl TryFrom<Connector> for RoutableConnectors {
Connector::Hipay => Ok(Self::Hipay),
Connector::Inespay => Ok(Self::Inespay),
Connector::Redsys => Ok(Self::Redsys),
Connector::Paytm => Ok(Self::Paytm),
Connector::Phonepe => Ok(Self::Phonepe),
Connector::CtpMastercard
| Connector::Gpayments
| Connector::HyperswitchVault