Skip to content

Commit

Permalink
feat: Netcetera to prod (#1211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhiagrawal001 authored Aug 27, 2024
1 parent af1aafa commit 1ee1e6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/screens/Connectors/ConnectorUtils.res
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ let threedsAuthenticatorList: array<connectorTypes> = [
ThreeDsAuthenticator(NETCETERA),
]

let threedsAuthenticatorListForLive: array<connectorTypes> = [ThreeDsAuthenticator(NETCETERA)]

let pmAuthenticationConnectorList: array<connectorTypes> = [PMAuthenticationProcessor(PLAID)]

let connectorList: array<connectorTypes> = [
Expand Down
5 changes: 4 additions & 1 deletion src/screens/ThreeDsProcessors/ThreeDsConnectorList.res
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@react.component
let make = () => {
let featureFlagDetails = HyperswitchAtom.featureFlagAtom->Recoil.useRecoilValueFromAtom
let fetchConnectorListResponse = ConnectorListHook.useFetchConnectorList()
let (screenState, setScreenState) = React.useState(_ => PageLoaderWrapper.Success)
let (configuredConnectors, setConfiguredConnectors) = React.useState(_ => [])
Expand Down Expand Up @@ -39,7 +40,9 @@ let make = () => {
configuredConnectors={configuredConnectors->ConnectorUtils.getConnectorTypeArrayFromListConnectors(
~connectorType=ConnectorTypes.ThreeDsAuthenticator,
)}
connectorsAvailableForIntegration=ConnectorUtils.threedsAuthenticatorList
connectorsAvailableForIntegration={featureFlagDetails.isLiveMode
? ConnectorUtils.threedsAuthenticatorListForLive
: ConnectorUtils.threedsAuthenticatorList}
urlPrefix="3ds-authenticators/new"
connectorType=ConnectorTypes.ThreeDsAuthenticator
/>
Expand Down

0 comments on commit 1ee1e6f

Please sign in to comment.