flutter_inappwebview icon indicating copy to clipboard operation
flutter_inappwebview copied to clipboard

Apple Pay not working in In App Web View

Open adityarath302 opened this issue 1 month ago • 1 comments

  • [x] I have read the Getting Started section
  • [x] I have already searched for the same problem

Environment

Technology Version
Flutter version 3.19.6
Plugin version 6.0.0
Android version
iOS version
macOS version
Xcode version 17.0
Google Chrome version

Device information:

Description

I am unable to see the apple pay button on the stripe checkout page when i attempt a payment using webview.

Expected behavior:

As per doct, i have enabled the applePayEnabled flag in In App Web view settings as true as well.

Current behavior: I am unabel to see the apple pay button.

Steps to reproduce

Load a webpage with the stripe generated checkout page.

  1. This is my inappwebview settings InAppWebViewSettings settings = InAppWebViewSettings( isInspectable: kDebugMode, mediaPlaybackRequiresUserGesture: false, allowsInlineMediaPlayback: true, applePayAPIEnabled: true, javaScriptCanOpenWindowsAutomatically: true, supportMultipleWindows: true, iframeAllowFullscreen: true);

Images

Stacktrace/Logcat

adityarath302 avatar May 25 '24 10:05 adityarath302