From bf6bde89eaaf3c443e07c191b42d2a9293377130 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <77892330+PritishBudhiraja@users.noreply.github.com> Date: Wed, 6 Dec 2023 17:03:56 +0530 Subject: [PATCH] feat: Bankofamerica addition in prod (#69) --- .../Connectors/ConnectorPreview.res | 55 +++++++++---------- .../HyperSwitch/Connectors/ConnectorUtils.res | 11 ++-- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/screens/HyperSwitch/Connectors/ConnectorPreview.res b/src/screens/HyperSwitch/Connectors/ConnectorPreview.res index 2123eeab2..a4b6e1f7e 100644 --- a/src/screens/HyperSwitch/Connectors/ConnectorPreview.res +++ b/src/screens/HyperSwitch/Connectors/ConnectorPreview.res @@ -6,7 +6,7 @@ module InfoField = { Js.String2.length > 0}>

{label->React.string}

-

{str->React.string}

+

{str->React.string}

} @@ -129,9 +129,9 @@ module ConnectorSummaryGrid = { let webhooksUrl = ConnectorUtils.getWebhooksUrl(~connectorName=connector, ~merchantId)
-
+

{"Processor Mode"->React.string}

-
+
{if connectorInfo.test_mode { {"TEST MODE"->React.string} @@ -143,13 +143,13 @@ module ConnectorSummaryGrid = { }}
-
+

{"Profile Id"->React.string}

-
{connectorInfo.profile_id->React.string}
+
{connectorInfo.profile_id->React.string}
-
+

{"API Keys"->React.string}

-
+
{connectorAccountFields ->Js.Dict.keys ->Array.mapWithIndex((field, index) => { @@ -164,31 +164,30 @@ module ConnectorSummaryGrid = { ->React.array}
-
+

{"Webhooks"->React.string}

-
-
-
{webhooksUrl->React.string}
-
{ - Clipboard.writeText(webhooksUrl) - showToast(~message="Copied to Clipboard!", ~toastType=ToastSuccess, ()) - hyperswitchMixPanel( - ~pageName=`${url.path->LogicUtils.getListHead}`, - ~contextName="webhook_processor", - ~actionName="hs_webhookcopied", - (), - ) - }}> - -
-
+ //
+
+
{webhooksUrl->React.string}
+ { + Clipboard.writeText(webhooksUrl) + showToast(~message="Copied to Clipboard!", ~toastType=ToastSuccess, ()) + hyperswitchMixPanel( + ~pageName=`${url.path->LogicUtils.getListHead}`, + ~contextName="webhook_processor", + ~actionName="hs_webhookcopied", + (), + ) + }} + /> + //
-
+

{"PMTs"->React.string}

-
+
{connectorInfo.payment_methods_enabled ->Array.mapWithIndex((field, index) => { = [ let connectorListForLive: array = [ STRIPE, ADYEN, - CHECKOUT, - ZEN, - BLUESNAP, - TRUSTPAY, - PAYME, PAYPAL, + BANKOFAMERICA, + BLUESNAP, + CHECKOUT, CRYPTOPAY, IATAPAY, + PAYME, + TRUSTPAY, + ZEN, ] let getPaymentMethodFromString = paymentMethod => {