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

View File

@ -231,7 +231,7 @@ impl ConnectorData {
enums::Connector::Nuvei => Ok(Box::new(&connector::Nuvei)),
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
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::Rapyd => Ok(Box::new(&connector::Rapyd)),
enums::Connector::Shift4 => Ok(Box::new(&connector::Shift4)),

View File

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