mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(connector): Add Peachpayments Template Code (#9363)
Co-authored-by: Anurag Singh <anurag.singh.001@Anurag-Singh-WPMHJ5619X.local>
This commit is contained in:
@ -136,6 +136,7 @@ pub enum RoutableConnectors {
|
||||
Paystack,
|
||||
Paytm,
|
||||
Payu,
|
||||
// Peachpayments,
|
||||
Phonepe,
|
||||
Placetopay,
|
||||
Powertranz,
|
||||
@ -313,6 +314,7 @@ pub enum Connector {
|
||||
Paystack,
|
||||
Paytm,
|
||||
Payu,
|
||||
// Peachpayments,
|
||||
Phonepe,
|
||||
Placetopay,
|
||||
Powertranz,
|
||||
@ -501,6 +503,7 @@ impl Connector {
|
||||
| Self::Paysafe
|
||||
| Self::Paystack
|
||||
| Self::Payu
|
||||
// | Self::Peachpayments
|
||||
| Self::Placetopay
|
||||
| Self::Powertranz
|
||||
| Self::Prophetpay
|
||||
@ -680,6 +683,7 @@ impl From<RoutableConnectors> for Connector {
|
||||
RoutableConnectors::Paysafe => Self::Paysafe,
|
||||
RoutableConnectors::Paystack => Self::Paystack,
|
||||
RoutableConnectors::Payu => Self::Payu,
|
||||
// RoutableConnectors::Peachpayments => Self::Peachpayments,
|
||||
RoutableConnectors::Placetopay => Self::Placetopay,
|
||||
RoutableConnectors::Powertranz => Self::Powertranz,
|
||||
RoutableConnectors::Prophetpay => Self::Prophetpay,
|
||||
@ -814,6 +818,7 @@ impl TryFrom<Connector> for RoutableConnectors {
|
||||
Connector::Paysafe => Ok(Self::Paysafe),
|
||||
Connector::Paystack => Ok(Self::Paystack),
|
||||
Connector::Payu => Ok(Self::Payu),
|
||||
// Connector::Peachpayments => Ok(Self::Peachpayments),
|
||||
Connector::Placetopay => Ok(Self::Placetopay),
|
||||
Connector::Powertranz => Ok(Self::Powertranz),
|
||||
Connector::Prophetpay => Ok(Self::Prophetpay),
|
||||
|
||||
Reference in New Issue
Block a user