Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ApplePay on WKWebview

I am trying to load ApplePay popup on WKWebView. I did my initial leg work by implementing it but it does not load up.

Is there something extra I need to implement to make it work ? There is no proper documentation on apple regarding apple pay either.

like image 849
lifemoveson Avatar asked May 25 '17 21:05

lifemoveson


People also ask

Is WKWebView same as Safari?

You can think of WKWebView as a stripped-down version of Safari. It is responsible to load a URL request and display the web content. WKWebView has the benefit of the Nitro JavaScript engine and offers more features. If you just need to display a specific web page, WKWebView is the best option for this scenario.

Can you run Apple Pay on android?

Apple Pay is Apple's mobile payment app, meaning it won't work on Android devices. You need an iPhone 6 (or Plus), an iPhone 6S (or Plus), or an Apple Watch to use Apple Pay. Both Apple Pay and Google Pay use NFC (near field communication) technology to process transactions.

Can Apple wallet be used for tap?

Apple empowers businesses to accept contactless payments through Tap to Pay on iPhone. Tap to Pay on iPhone enables businesses to seamlessly and securely accept Apple Pay, contactless credit and debit cards, and other digital wallets through a simple tap to their iPhone.


1 Answers

I think you need to use SFSafariViewController.

iOS 10. Apple Pay JavaScript is supported on all iOS devices with a Secure Element. It is supported both in Safari and in SFSafariViewControllerobjects.

like image 63
Craig Yu Avatar answered Sep 29 '22 10:09

Craig Yu