File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ pub enum Connector {
119
119
Worldpay ,
120
120
Zen ,
121
121
Signifyd ,
122
+ Plaid ,
122
123
}
123
124
124
125
impl Connector {
Original file line number Diff line number Diff line change @@ -1383,7 +1383,7 @@ pub(crate) fn validate_auth_type(
1383
1383
zen:: transformers:: ZenAuthType :: try_from ( val) ?;
1384
1384
Ok ( ( ) )
1385
1385
}
1386
- api_enums:: Connector :: Signifyd => {
1386
+ api_enums:: Connector :: Signifyd | api_enums :: Connector :: Plaid => {
1387
1387
Err ( report ! ( errors:: ConnectorError :: InvalidConnectorName )
1388
1388
. attach_printable ( format ! ( "invalid connector name: {connector_name}" ) ) )
1389
1389
}
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ impl ConnectorData {
341
341
enums:: Connector :: Trustpay => Ok ( Box :: new ( & connector:: Trustpay ) ) ,
342
342
enums:: Connector :: Tsys => Ok ( Box :: new ( & connector:: Tsys ) ) ,
343
343
enums:: Connector :: Zen => Ok ( Box :: new ( & connector:: Zen ) ) ,
344
- enums:: Connector :: Signifyd => {
344
+ enums:: Connector :: Signifyd | enums :: Connector :: Plaid => {
345
345
Err ( report ! ( errors:: ConnectorError :: InvalidConnectorName )
346
346
. attach_printable ( format ! ( "invalid connector name: {connector_name}" ) ) )
347
347
. change_context ( errors:: ApiErrorResponse :: InternalServerError )
Original file line number Diff line number Diff line change 3872
3872
" worldline" ,
3873
3873
" worldpay" ,
3874
3874
" zen" ,
3875
- " signifyd"
3875
+ " signifyd" ,
3876
+ " plaid"
3876
3877
]
3877
3878
},
3878
3879
"ConnectorMetadata" : {
You can’t perform that action at this time.
0 commit comments