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.