Skip to content

Commit

Permalink
chore: new connector added bambora apac (#973)
Browse files Browse the repository at this point in the history
Co-authored-by: Sagar naik <[email protected]>
Co-authored-by: Vrishab Srivatsa <[email protected]>
  • Loading branch information
3 people authored Jul 11, 2024
1 parent ba411d1 commit 2658d8a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions public/hyperswitch/Gateway/BAMBORAAPAC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/screens/Connectors/ConnectorTypes.res
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ type processorTypes =
| ZSL
| MIFINITY
| RAZORPAY
| BAMBORA_APAC

type threeDsAuthenticatorTypes = THREEDSECUREIO | NETCETERA

Expand Down
9 changes: 9 additions & 0 deletions src/screens/Connectors/ConnectorUtils.res
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ let connectorList: array<connectorTypes> = [
Processors(ZSL),
Processors(PLACETOPAY),
Processors(RAZORPAY),
Processors(BAMBORA_APAC),
]

let connectorListForLive: array<connectorTypes> = [
Expand Down Expand Up @@ -427,6 +428,10 @@ 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 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 signifydInfo = {
description: "One platform to protect the entire shopper journey end-to-end",
validate: [
Expand Down Expand Up @@ -520,6 +525,7 @@ let getConnectorNameString = (connector: processorTypes) =>
| MIFINITY => "mifinity"
| ZSL => "zsl"
| RAZORPAY => "razorpay"
| BAMBORA_APAC => "bamboraapac"
}

let getThreeDsAuthenticatorNameString = (threeDsAuthenticator: threeDsAuthenticatorTypes) =>
Expand Down Expand Up @@ -607,6 +613,7 @@ let getConnectorNameTypeFromString = (connector, ~connectorType=ConnectorTypes.P
| "mifinity" => Processors(MIFINITY)
| "zsl" => Processors(ZSL)
| "razorpay" => Processors(RAZORPAY)
| "bamboraapac" => Processors(BAMBORA_APAC)
| _ => UnknownConnector("Not known")
}
| ThreeDsAuthenticator =>
Expand Down Expand Up @@ -685,6 +692,7 @@ let getProcessorInfo = connector => {
| MIFINITY => mifinityInfo
| ZSL => zslInfo
| RAZORPAY => razorpayInfo
| BAMBORA_APAC => bamboraApacInfo
}
}
let getThreedsAuthenticatorInfo = threeDsAuthenticator =>
Expand Down Expand Up @@ -1452,6 +1460,7 @@ let getDisplayNameForProcessor = connector =>
| MIFINITY => "MiFinity"
| ZSL => "ZSL"
| RAZORPAY => "Razorpay"
| BAMBORA_APAC => "Bambora Apac"
}

let getDisplayNameForThreedsAuthenticator = threeDsAuthenticator =>
Expand Down

0 comments on commit 2658d8a

Please sign in to comment.