From 8479f4b421b13f5b2c9a300fbafc45e4cb7cb353 Mon Sep 17 00:00:00 2001 From: Arush Date: Thu, 29 Aug 2024 16:05:58 +0530 Subject: [PATCH] fix: added loader for netecetera when openurl_if_required is sent post otp submission --- src/orca-loader/Elements.res | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/orca-loader/Elements.res b/src/orca-loader/Elements.res index 9723d7d8e..33f99f668 100644 --- a/src/orca-loader/Elements.res +++ b/src/orca-loader/Elements.res @@ -680,6 +680,11 @@ let make = ( switch eventDataObject->getOptionalJsonFromJson("openurl_if_required") { | Some(val) => + messageParentWindow([ + ("fullscreen", true->JSON.Encode.bool), + ("param", "paymentloader"->JSON.Encode.string), + ("iframeId", selectorString->JSON.Encode.string), + ]) if redirect.contents === "always" { Window.Location.replace(val->JSON.Decode.string->Option.getOr("")) resolve(JSON.Encode.null)