0

I am creating a POC for Apple Pay in my web app using .net MVC. I'm following this online tutorial:

https://www.oshyn.com/blogs/2017/01/apple-pay-development

I'm doing this on Windows and I've installed safari browser just for testing.

The documentation says Safari supports Applepay.js but my code is not working on the Safari browser.

I tried to show the alert only if Apple Pay JS API is available in the browser, but not working.

 $(document).ready(function () {

        if (window.ApplePaySession) {
            alert("Apple js available");
}

I just want confirmation that Applejs is actually available in my browser Safari.

Kjartan
  • 17,127
  • 14
  • 67
  • 84
Reply not
  • 161
  • 2
  • 10
  • Can you view the network requests? I mean you should check Applepay.js was downloaded. You can also check the version of Safari. – harmath Sep 03 '19 at 08:08
  • I just need to confirm that if ApplePay js is suported in windows if i download safari . – Reply not Sep 03 '19 at 08:18
  • 1
    I found this in your tutorial:"Unfortunately it only works with the Safari web browser in Apple's platforms (macOS 10.12+ and iOS 10+)" – harmath Sep 03 '19 at 08:34

0 Answers0