mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user