Hello Henry Sherman,
We are aware now that there is specific method within iOS 9 that supports what we want.
+ (PKSuppressionRequestToken)requestAutomaticPassPresentationSuppressionWithResponseHandler:(void (^ _Nonnull)(PKAutomaticPassPresentationSuppressionResult result))
responseHandler
However, every time we call this method we get the following response: PKAutomaticPassPresentationSuppressionResultDenied (Either the user prevented the suppression, or an internal error occurred)
In the documentation marks as an importante note that:
IMPORTANT
This method requires a special entitlement issued by Apple. If the entitlement is not present, the request will fail with a
PKAutomaticPassPresentationSuppressionResultNotSupported
result. For more information, see
developer.apple.com/apple-pay/.
What should we do in order to get the PKAutomaticPassPresentationSuppressionResultSuccess result? We have enabled the Apple Pay in our "Apple ID" and even created a Merchand ID, after that downloaded again the Development Provisioning Profile which includes all this and included in the project. There as well we enabled the "Apple Pay" capability but we still get the PKAutomaticPassPresentationSuppressionResultDenied error.
Testing environment Information:
- iPhone 6 with an Apple Pay enabled card
- iOS 9.0.1 (13A404)
Thanks for all