Apple Pay - 通行证为空

Apple Pay - Pass book empty

最近我的应用程序在 Apple Review 中失败了,对于 Apple Pay,提到 "Specifically, we found that your app provide the Apple Pay button for devices without Apple Pay being set up."... 无能:( 我建立了方式,按钮 "Buy with Apple Pay" 将显示,当

     [PKPaymentAuthorizationViewController canMakePayments] 

returns 一 (true) & Braintree 在 iPhone 6、6+ 等设备上验证成功。虽然,存折是空的,但总是在 canMakePayments returns "true" 之上。我怀疑,这可能是苹果拒绝的原因。但是,您认为我们可以通过任何其他方式从头解决这个问题吗?或者,我应该申诉吗?如果我走错了路,请纠正我。

另外,我不清楚这个声明中 Apple Doc 所说的内容。

"On devices that support making payments but don’t have any payment cards configured, the canMakePayments method returns YES because the hardware and parental controls allow making payments, but the canMakePaymentsUsingNetworks: method returns NO regardless of network."

谢谢。

这是问题的原因!其实不是Apple Bug,是我们自己实现的bug。

只是为 reference 发帖 - 像我一样,很多人可能错过了这个,希望这对其他人有帮助。

canMakePayments - 将 return "YES" ( True / 1 ) 与卡配置无关。

canMakePaymentsUsingNetworks - 如果卡未配置或配置不正确,将 return "NO"。

因此,对于我的情况,我应该检查两者...如果两者都为真,那么我只需要使按钮 "Apple Pay" 可见。让我请求看看会发生什么!