I am also having this issue on :
- MacBook Pro (Retina, 15-inch, Late 2013)
- macOS Sierra 10.12 Beta (16A239m)
- Safari Version 10.0 (12602.1.38.2)
Here is the code I am running, this is being initialized on a click event, and I get the same results as skunkworks (the payment sheet is not being displayed).
function foo(event) {
var session, paymentRequest = {
currencyCode: 'USD',
countryCode: 'US',
total: {
label: 'My Company',
amount: '10.00'
},
supportedNetworks: ['amex', 'discover', 'masterCard', 'visa'],
merchantCapabilities: ['supports3DS']
};
session = new ApplePaySession(1, paymentRequest);
session.begin();
}
UPDATE *July 15, 2016*:
I ran this code, but on my iphone 6Plus running iOS10 and the payment sheet *DOES* appear.
UPDATE #2:
It looks like it was user error! I wasn't handling the promise correctly, so the button was showing up even though canMakePaymentsWithActiveCard was returning false.