chore(connector): [Payme] disable payme connector in code (#1561)

This commit is contained in:
Arjun Karthik
2023-06-28 18:57:10 +05:30
committed by GitHub
parent 295d41abba
commit 3cd474604d
3 changed files with 4 additions and 4 deletions

View File

@ -627,7 +627,7 @@ pub enum Connector {
Noon, Noon,
Nuvei, Nuvei,
// Payeezy, As psync and rsync are not supported by this connector, it is added as template code for future usage // Payeezy, As psync and rsync are not supported by this connector, it is added as template code for future usage
Payme, // Payme,
Paypal, Paypal,
Payu, Payu,
Rapyd, Rapyd,
@ -713,7 +713,7 @@ pub enum RoutableConnectors {
Nuvei, Nuvei,
Opennode, Opennode,
// Payeezy, As psync and rsync are not supported by this connector, it is added as template code for future usage // Payeezy, As psync and rsync are not supported by this connector, it is added as template code for future usage
Payme, // Payme,
Paypal, Paypal,
Payu, Payu,
Rapyd, Rapyd,

View File

@ -231,7 +231,7 @@ impl ConnectorData {
enums::Connector::Nuvei => Ok(Box::new(&connector::Nuvei)), enums::Connector::Nuvei => Ok(Box::new(&connector::Nuvei)),
enums::Connector::Opennode => Ok(Box::new(&connector::Opennode)), enums::Connector::Opennode => Ok(Box::new(&connector::Opennode)),
// "payeezy" => Ok(Box::new(&connector::Payeezy)), As psync and rsync are not supported by this connector, it is added as template code for future usage // "payeezy" => Ok(Box::new(&connector::Payeezy)), As psync and rsync are not supported by this connector, it is added as template code for future usage
enums::Connector::Payme => Ok(Box::new(&connector::Payme)), //enums::Connector::Payme => Ok(Box::new(&connector::Payme)),
enums::Connector::Payu => Ok(Box::new(&connector::Payu)), enums::Connector::Payu => Ok(Box::new(&connector::Payu)),
enums::Connector::Rapyd => Ok(Box::new(&connector::Rapyd)), enums::Connector::Rapyd => Ok(Box::new(&connector::Rapyd)),
enums::Connector::Shift4 => Ok(Box::new(&connector::Shift4)), enums::Connector::Shift4 => Ok(Box::new(&connector::Shift4)),

View File

@ -14,7 +14,7 @@ impl utils::Connector for PaymeTest {
use router::connector::Payme; use router::connector::Payme;
types::api::ConnectorData { types::api::ConnectorData {
connector: Box::new(&Payme), connector: Box::new(&Payme),
connector_name: types::Connector::Payme, connector_name: types::Connector::DummyConnector1,
get_token: types::api::GetToken::Connector, get_token: types::api::GetToken::Connector,
} }
} }