refactor(connector): added amount conversion framework for Gpayments (#4978)

This commit is contained in:
Kiran Kumar
2024-08-07 22:31:44 +05:30
committed by GitHub
parent 732472204d
commit aa036ce84d
4 changed files with 27 additions and 17 deletions

View File

@ -11,7 +11,7 @@ impl utils::Connector for GpaymentsTest {
fn get_data(&self) -> types::api::ConnectorData {
use router::connector::Gpayments;
utils::construct_connector_data_old(
Box::new(&Gpayments),
Box::new(Gpayments::new()),
types::Connector::Threedsecureio,
// Added as Dummy connector as template code is added for future usage
types::api::GetToken::Connector,