From 3f7d40beac8ad006c1a29e966a5d0c8f1bc5e953 Mon Sep 17 00:00:00 2001 From: Lokesh Jain <56452497+jainlokesh318@users.noreply.github.com> Date: Thu, 30 Nov 2023 17:47:46 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20donot=20show=20stripe=20paypal=20TestCom?= =?UTF-8?q?pletion=20on=20just=20connection=20of=20st=E2=80=A6=20(#41)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Lokesh Jain Co-authored-by: Jeeva Ramachandran <120017870+JeevaRamu0104@users.noreply.github.com> --- config/FeatureFlag.json | 2 +- src/screens/HyperSwitch/HSwitchUtils.res | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/FeatureFlag.json b/config/FeatureFlag.json index d08069294..bf3795e0c 100644 --- a/config/FeatureFlag.json +++ b/config/FeatureFlag.json @@ -22,4 +22,4 @@ "mixpanel": false, "business_profile": false, "generate_report": false -} +} \ No newline at end of file diff --git a/src/screens/HyperSwitch/HSwitchUtils.res b/src/screens/HyperSwitch/HSwitchUtils.res index 509b29e30..cdeb685ff 100644 --- a/src/screens/HyperSwitch/HSwitchUtils.res +++ b/src/screens/HyperSwitch/HSwitchUtils.res @@ -480,7 +480,8 @@ module CardLoader = { let checkStripePlusPayPal = (enumDetails: QuickStartTypes.responseType) => { enumDetails.stripeConnected.processorID->Js.String2.length > 0 && - enumDetails.paypalConnected.processorID->Js.String2.length > 0 + enumDetails.paypalConnected.processorID->Js.String2.length > 0 && + enumDetails.sPTestPayment ? true : false }