Hi,
I see more issues with the thecanMakePaymentsWithActiveCard(..) method but all of them describe beta and test environment. I have Apple Pay running on a live site and it is working for some devices but not for all. The problem is that the button is not shown if I use the thecanMakePaymentsWithActiveCard("..") method. For some devices this returns "false" but they have an active card in there wallet. If I remove the check the apple pay payment went well so there is an active card. Any idea if this is a known bug of the apple pay javascript framework ?
Not working in all cases:
if(window.ApplePaySession) {
var promise = ApplePaySession.canMakePaymentsWithActiveCard("MY IDENTIFIER");
promise.then(function (canMakePayments) {
if (canMakePayments) {
// show apple pay button
.......
// solution:
if(window.ApplePaySession) {
// show apple pay button
......
Regards,