diff --git a/public/hyperswitch/Gateway/RAZORPAY.svg b/public/hyperswitch/Gateway/RAZORPAY.svg new file mode 100644 index 000000000..1564aa1ba --- /dev/null +++ b/public/hyperswitch/Gateway/RAZORPAY.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/screens/Connectors/ConnectorTypes.res b/src/screens/Connectors/ConnectorTypes.res index b7023d332..fbed73b8e 100644 --- a/src/screens/Connectors/ConnectorTypes.res +++ b/src/screens/Connectors/ConnectorTypes.res @@ -84,6 +84,7 @@ type processorTypes = | PLACETOPAY | ZSL | MIFINITY + | RAZORPAY type threeDsAuthenticatorTypes = THREEDSECUREIO | NETCETERA diff --git a/src/screens/Connectors/ConnectorUtils.res b/src/screens/Connectors/ConnectorUtils.res index 0550d70f5..25739ec66 100644 --- a/src/screens/Connectors/ConnectorUtils.res +++ b/src/screens/Connectors/ConnectorUtils.res @@ -83,6 +83,7 @@ let connectorList: array = [ Processors(ZEN), Processors(ZSL), Processors(PLACETOPAY), + Processors(RAZORPAY), ] let connectorListForLive: array = [ @@ -422,6 +423,10 @@ let zslInfo = { description: "It is a payment processor that enables businesses to accept payments securely through local bank transfers.", } +let razorpayInfo = { + description: "Razorpay helps you accept online payments from customers across Desktop, Mobile web, Android & iOS. Additionally by using Razorpay Payment Links, you can collect payments across multiple channels like SMS, Email, Whatsapp, Chatbots & Messenger.", +} + let signifydInfo = { description: "One platform to protect the entire shopper journey end-to-end", validate: [ @@ -514,6 +519,7 @@ let getConnectorNameString = (connector: processorTypes) => | BILLWERK => "billwerk" | MIFINITY => "mifinity" | ZSL => "zsl" + | RAZORPAY => "razorpay" } let getThreeDsAuthenticatorNameString = (threeDsAuthenticator: threeDsAuthenticatorTypes) => @@ -600,6 +606,7 @@ let getConnectorNameTypeFromString = (connector, ~connectorType=ConnectorTypes.P | "billwerk" => Processors(BILLWERK) | "mifinity" => Processors(MIFINITY) | "zsl" => Processors(ZSL) + | "razorpay" => Processors(RAZORPAY) | _ => UnknownConnector("Not known") } | ThreeDsAuthenticator => @@ -677,6 +684,7 @@ let getProcessorInfo = connector => { | BILLWERK => billwerkInfo | MIFINITY => mifinityInfo | ZSL => zslInfo + | RAZORPAY => razorpayInfo } } let getThreedsAuthenticatorInfo = threeDsAuthenticator => @@ -1443,6 +1451,7 @@ let getDisplayNameForProcessor = connector => | PLACETOPAY => "Placetopay" | MIFINITY => "MiFinity" | ZSL => "ZSL" + | RAZORPAY => "Razorpay" } let getDisplayNameForThreedsAuthenticator = threeDsAuthenticator =>