From bf0456234bb6746a4e8c44fd7f9cd364c914e665 Mon Sep 17 00:00:00 2001 From: ArushKapoorJuspay <121166031+ArushKapoorJuspay@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:09:27 +0530 Subject: [PATCH] fix: added loader for netecetera when openurl_if_required is sent post otp submission (#589) --- 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 8535a5180..96bb201cd 100644 --- a/src/orca-loader/Elements.res +++ b/src/orca-loader/Elements.res @@ -679,6 +679,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)