Apple pay api integration with javascript

Hi,
I'm Bharat Bansode Developer. I wanted to implement apple pay into my application and for that i need integration files which is integrated in javascript.
Basically i have tried the solution which is there in developer forum however it is not working for me.

Thanks in advance.
Have you taken a look at the Apple Pay on the Web Demo. This walks you through each step of the process. As far as including the JavaScript files you should be able to use window.ApplePaySession on iOS devices running iOS 11 or later or Safari 11 on Mac devices running macOS 10.13 or later. Try testing this with:
Code Block javascript
if (window.ApplePaySession) {
}


Also see this covered in Checking for Apple Pay Availability.


Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com

Apple pay api integration with javascript
 
 
Q