'Popup is not working in Flutter Web VIew package

I am using 'flutter_webview' package for payment the web view working fine. but on payment its open new popup, that popup is working in other external browser but not in mobile view.

please guide me to handle the popup in webview.

 Expanded(
              child: WebView(
                debuggingEnabled: true,
                initialUrl: paymentUrl,
                allowsInlineMediaPlayback: true,
                javascriptMode: JavascriptMode.unrestricted,
                gestureNavigationEnabled: true,
                onWebViewCreated: (WebViewController webViewController) {
                  _controller = webViewController;
                },
                onWebResourceError: (WebResourceError webviewerrr) {
                  print("Handle your Error Page here");
                },
                javascriptChannels: Set.from([
                  JavascriptChannel(
                    name: 'Alert',
                    onMessageReceived: (JavascriptMessage message) {
                      // alert message = Test alert Message
                      print(message.message);
                      // TODO popup
                    },
                  )
                ]),
              ),
            ),


Solution 1:[1]

I found the solution, while using the razor pay we have to integrate razorpay_flutter package instead of going with the webview_flutter

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 AbHi PoOjary