feat(connector): Remove Braintree SDK Flow support (#5264)

This commit is contained in:
awasthi21
2024-08-06 14:49:38 +05:30
committed by GitHub
parent 835f0cb597
commit 61a0cb3e1e
12 changed files with 1932 additions and 2841 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1299,9 +1299,7 @@ impl<'a> ConnectorAuthTypeAndMetadataValidation<'a> {
}
api_enums::Connector::Braintree => {
braintree::transformers::BraintreeAuthType::try_from(self.auth_type)?;
braintree::braintree_graphql_transformers::BraintreeMeta::try_from(
self.connector_meta_data,
)?;
braintree::transformers::BraintreeMeta::try_from(self.connector_meta_data)?;
Ok(())
}
api_enums::Connector::Cashtocode => {

View File

@ -337,7 +337,7 @@ impl ConnectorData {
}
enums::Connector::Boku => Ok(ConnectorEnum::Old(Box::new(&connector::Boku))),
enums::Connector::Braintree => {
Ok(ConnectorEnum::Old(Box::new(&connector::Braintree)))
Ok(ConnectorEnum::Old(Box::new(connector::Braintree::new())))
}
enums::Connector::Cashtocode => {
Ok(ConnectorEnum::Old(Box::new(connector::Cashtocode::new())))