I'm trying to spin up the Apple Pay Web magic, and I can't seem to get can make payments to return true. I've got my sandbox test account signed in on both my iPad and sierra MBP, with the latest beta on both. On the iPad, I have two different test cards from the documentation in place, and I definitely see sandbox under Wallet and Apple Pay. I went ahead and ran the same code on Safari on the ipad, and I get the same result. Thanks.
if (window.ApplePaySession) { // returns true
console.log("supports version: " + ApplePaySession.supportsVersion(1)); // returns true
var merchantIdentifier = 'merchant.blah';
var promise = ApplePaySession.canMakePaymentsWithActiveCard(merchantIdentifier);
promise.then(function (canMakePayments) {
if (canMakePayments) { // returns false
$("#applePay").show();
console.log('hi, I can do ApplePay');
} else {
$("#applePay").after('<p>ApplePay is possible on this browser, but not currently activated.</p>');
console.log('ApplePay is possible on this browser, but not currently activated.'); /
}
});
} else {
console.log('ApplePay not available on this browser');
$("#applePay").after('ApplePay not available on this browser');
}