From ae0868201f45158b2e2864ec397bce8f8dd2203e Mon Sep 17 00:00:00 2001 From: Arush Date: Thu, 14 Sep 2023 17:11:16 +0530 Subject: [PATCH] Fixed redirection after force sync --- src/Utilities/PaymentHelpers.res | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Utilities/PaymentHelpers.res b/src/Utilities/PaymentHelpers.res index ff0403d87..f57b10fbc 100644 --- a/src/Utilities/PaymentHelpers.res +++ b/src/Utilities/PaymentHelpers.res @@ -291,6 +291,9 @@ let intentCall = ( ~errortype="confirm_payment_failed", ~message="Payment failed. Try again!", ) + if uri->Js.String2.includes("force_sync=true") { + openUrl(url.href) + } } } else if intent.status == "processing" { if intent.nextAction.type_ == "third_party_sdk_session_token" {