From a11170ae0940d529ac21624eb65a9e327afaf38d Mon Sep 17 00:00:00 2001 From: Riddhi Agrawal Date: Tue, 28 Nov 2023 13:04:47 +0530 Subject: [PATCH] Minor Ui changes and bugfixes --- .../Home/CommonConnectorFlow/ConfigureConnector.res | 3 ++- src/screens/HyperSwitch/SDKPayment/SDKPage.res | 4 ---- src/screens/HyperSwitch/SDKPayment/TestPayment.res | 2 +- .../HyperSwitch/StripePlusPaypal/StripePlusPaypalUIUtils.res | 3 ++- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/screens/HyperSwitch/Home/CommonConnectorFlow/ConfigureConnector.res b/src/screens/HyperSwitch/Home/CommonConnectorFlow/ConfigureConnector.res index 71845184b..45c53c56c 100644 --- a/src/screens/HyperSwitch/Home/CommonConnectorFlow/ConfigureConnector.res +++ b/src/screens/HyperSwitch/Home/CommonConnectorFlow/ConfigureConnector.res @@ -259,7 +259,8 @@ let make = (~connectProcessorValue: connectProcessor) => { amount=100 returnUrl={`${HSwitchGlobalVars.hyperSwitchFEPrefix}/quick-start`} onProceed={updateTestPaymentEnum} - keyValue="" + keyValue={Js.Date.now()->Js.Float.toString} + sdkWidth="w-full" /> diff --git a/src/screens/HyperSwitch/SDKPayment/SDKPage.res b/src/screens/HyperSwitch/SDKPayment/SDKPage.res index ff696ed19..66907c565 100644 --- a/src/screens/HyperSwitch/SDKPayment/SDKPage.res +++ b/src/screens/HyperSwitch/SDKPayment/SDKPage.res @@ -117,10 +117,6 @@ let make = () => { RescriptReactRouter.replace(`/payments/${id}`) } - let customTryAgain = () => { - RescriptReactRouter.replace("/sdk") - setIsSDKOpen(_ => false) - } let onSubmit = (values, _) => { open LogicUtils let valueDict = values->getDictFromJsonObject diff --git a/src/screens/HyperSwitch/SDKPayment/TestPayment.res b/src/screens/HyperSwitch/SDKPayment/TestPayment.res index 3cd235c9d..dc9e9b8ea 100644 --- a/src/screens/HyperSwitch/SDKPayment/TestPayment.res +++ b/src/screens/HyperSwitch/SDKPayment/TestPayment.res @@ -123,7 +123,7 @@ let make = ( {switch clientSecret { | Some(val) => if isTestCredsNeeded { -
+
Js.Float.toString} + sdkWidth="w-full" /> }