From 2880ab1dc482ce9904f23959870e2e49d94d0150 Mon Sep 17 00:00:00 2001 From: Gitanjli <96485413+gitanjli525@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:36:07 +0530 Subject: [PATCH] feat: itaubank connector addition (#1042) --- public/hyperswitch/Gateway/ITAUBANK.svg | 3 +++ src/screens/Connectors/ConnectorTypes.res | 1 + src/screens/Connectors/ConnectorUtils.res | 9 +++++++++ 3 files changed, 13 insertions(+) create mode 100644 public/hyperswitch/Gateway/ITAUBANK.svg diff --git a/public/hyperswitch/Gateway/ITAUBANK.svg b/public/hyperswitch/Gateway/ITAUBANK.svg new file mode 100644 index 000000000..1ddf2320e --- /dev/null +++ b/public/hyperswitch/Gateway/ITAUBANK.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/screens/Connectors/ConnectorTypes.res b/src/screens/Connectors/ConnectorTypes.res index e807d6de4..79ec5b035 100644 --- a/src/screens/Connectors/ConnectorTypes.res +++ b/src/screens/Connectors/ConnectorTypes.res @@ -86,6 +86,7 @@ type processorTypes = | MIFINITY | RAZORPAY | BAMBORA_APAC + | ITAUBANK type threeDsAuthenticatorTypes = THREEDSECUREIO | NETCETERA diff --git a/src/screens/Connectors/ConnectorUtils.res b/src/screens/Connectors/ConnectorUtils.res index 73e25120d..d176283a7 100644 --- a/src/screens/Connectors/ConnectorUtils.res +++ b/src/screens/Connectors/ConnectorUtils.res @@ -85,6 +85,7 @@ let connectorList: array = [ Processors(PLACETOPAY), Processors(RAZORPAY), Processors(BAMBORA_APAC), + Processors(ITAUBANK), ] let connectorListForLive: array = [ @@ -433,6 +434,10 @@ let bamboraApacInfo = { description: "Bambora offers the ability to securely and efficiently process online, real-time transactions via an API, our user-friendly interface. The API web service accepts and processes SOAP requests from a remote location over TCP/IP. Transaction results are returned in real-time via the API.", } +let itauBankInfo = { + description: "The Banking as a Service (BaaS) solution allows non-financial companies to offer services with the ecosystem that banking institutions have. Itaú as a Service (IaaS) is the ideal tool for your company to improve your customers' experience, offering a whole new portfolio of products, with Itaú's technology and security.", +} + let signifydInfo = { description: "One platform to protect the entire shopper journey end-to-end", validate: [ @@ -527,6 +532,7 @@ let getConnectorNameString = (connector: processorTypes) => | ZSL => "zsl" | RAZORPAY => "razorpay" | BAMBORA_APAC => "bamboraapac" + | ITAUBANK => "itaubank" } let getThreeDsAuthenticatorNameString = (threeDsAuthenticator: threeDsAuthenticatorTypes) => @@ -615,6 +621,7 @@ let getConnectorNameTypeFromString = (connector, ~connectorType=ConnectorTypes.P | "zsl" => Processors(ZSL) | "razorpay" => Processors(RAZORPAY) | "bamboraapac" => Processors(BAMBORA_APAC) + | "itaubank" => Processors(ITAUBANK) | _ => UnknownConnector("Not known") } | ThreeDsAuthenticator => @@ -694,6 +701,7 @@ let getProcessorInfo = connector => { | ZSL => zslInfo | RAZORPAY => razorpayInfo | BAMBORA_APAC => bamboraApacInfo + | ITAUBANK => itauBankInfo } } let getThreedsAuthenticatorInfo = threeDsAuthenticator => @@ -1457,6 +1465,7 @@ let getDisplayNameForProcessor = connector => | ZSL => "ZSL" | RAZORPAY => "Razorpay" | BAMBORA_APAC => "Bambora Apac" + | ITAUBANK => "Itaubank" } let getDisplayNameForThreedsAuthenticator = threeDsAuthenticator =>