mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(connector): [Square] Implement Card Payments for Square (#1902)
This commit is contained in:
@ -1219,6 +1219,10 @@ pub(crate) fn validate_auth_type(
|
||||
shift4::transformers::Shift4AuthType::try_from(val)?;
|
||||
Ok(())
|
||||
}
|
||||
api_enums::Connector::Square => {
|
||||
square::transformers::SquareAuthType::try_from(val)?;
|
||||
Ok(())
|
||||
}
|
||||
api_enums::Connector::Stax => {
|
||||
stax::transformers::StaxAuthType::try_from(val)?;
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user