On the payment screen of my website, I executed the canMakePayments method to check if the user has an ApplePay-enabled device.
The process worked fine, but when I executed the window.webkit.messageHandlers.xxxx.postMessage method in JS to do the following, the process stopped.
window.webkit.messageHandlers.xxx.postMessage
is it not possible to use it when using ApplePayJS?
Or is there some problem such as a restriction on the JS window object?