mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat(connector): [SANTANDER] Add Template Code (#8369)
Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
This commit is contained in:
committed by
GitHub
parent
293d93f68b
commit
c8b35dacb8
@ -30,9 +30,9 @@ pub use hyperswitch_connectors::connectors::{
|
||||
paystack, paystack::Paystack, payu, payu::Payu, placetopay, placetopay::Placetopay, plaid,
|
||||
plaid::Plaid, powertranz, powertranz::Powertranz, prophetpay, prophetpay::Prophetpay, rapyd,
|
||||
rapyd::Rapyd, razorpay, razorpay::Razorpay, recurly, recurly::Recurly, redsys, redsys::Redsys,
|
||||
riskified, riskified::Riskified, shift4, shift4::Shift4, signifyd, signifyd::Signifyd, square,
|
||||
square::Square, stax, stax::Stax, stripe, stripe::Stripe, stripebilling,
|
||||
stripebilling::Stripebilling, taxjar, taxjar::Taxjar, threedsecureio,
|
||||
riskified, riskified::Riskified, santander, santander::Santander, shift4, shift4::Shift4,
|
||||
signifyd, signifyd::Signifyd, square, square::Square, stax, stax::Stax, stripe, stripe::Stripe,
|
||||
stripebilling, stripebilling::Stripebilling, taxjar, taxjar::Taxjar, threedsecureio,
|
||||
threedsecureio::Threedsecureio, thunes, thunes::Thunes, tokenio, tokenio::Tokenio, trustpay,
|
||||
trustpay::Trustpay, tsys, tsys::Tsys, unified_authentication_service,
|
||||
unified_authentication_service::UnifiedAuthenticationService, vgs, vgs::Vgs, volt, volt::Volt,
|
||||
|
||||
@ -1702,6 +1702,10 @@ impl ConnectorAuthTypeAndMetadataValidation<'_> {
|
||||
redsys::transformers::RedsysAuthType::try_from(self.auth_type)?;
|
||||
Ok(())
|
||||
}
|
||||
// api_enums::Connector::Santander => {
|
||||
// santander::transformers::SantanderAuthType::try_from(self.auth_type)?;
|
||||
// Ok(())
|
||||
// },
|
||||
api_enums::Connector::Shift4 => {
|
||||
shift4::transformers::Shift4AuthType::try_from(self.auth_type)?;
|
||||
Ok(())
|
||||
|
||||
@ -554,6 +554,9 @@ impl ConnectorData {
|
||||
enums::Connector::Redsys => {
|
||||
Ok(ConnectorEnum::Old(Box::new(connector::Redsys::new())))
|
||||
}
|
||||
// enums::Connector::Santander => {
|
||||
// Ok(ConnectorEnum::Old(Box::new(connector::Santander)))
|
||||
// }
|
||||
enums::Connector::Shift4 => {
|
||||
Ok(ConnectorEnum::Old(Box::new(connector::Shift4::new())))
|
||||
}
|
||||
|
||||
@ -308,6 +308,7 @@ impl ForeignTryFrom<api_enums::Connector> for common_enums::RoutableConnectors {
|
||||
api_enums::Connector::Razorpay => Self::Razorpay,
|
||||
api_enums::Connector::Recurly => Self::Recurly,
|
||||
api_enums::Connector::Redsys => Self::Redsys,
|
||||
// api_enums::Connector::Santander => Self::Santander,
|
||||
api_enums::Connector::Shift4 => Self::Shift4,
|
||||
api_enums::Connector::Signifyd => {
|
||||
Err(common_utils::errors::ValidationError::InvalidValue {
|
||||
|
||||
Reference in New Issue
Block a user