iOS9 Simulator won't authorize any PKPaymentRequest that requires a billing request

Originator:glen.tregoning
Number:rdar://22944762 Date Originated:1 Oct 2015
Status:Open Resolved:
Product: Product Version:iOS 9 Simulator (iPhone 6)
Classification: Reproducible:
 
Summary:
Any PKPaymentRequest which is is used to present a ApplePay pay sheet in the iOS9 simulator won't ever process a payment. 

            request.requiredBillingAddressFields = .PostalAddress

Steps to Reproduce:
1. Configure a project with ApplePay and a request requiring a billing address
2. Run in Xcode 7 using the iOS 9 simulator
3. Show the ApplePay pay sheet using this request
4. Press  'Pay with Passcode'

Expected Results:
The payment should proceed as expected and `func paymentAuthorizationViewController(controller: PKPaymentAuthorizationViewController, didAuthorizePayment payment: PKPayment, completion: (PKPaymentAuthorizationStatus) -> Void) ` should be called on the delegate

Actual Results:
`func paymentAuthorizationViewController(controller: PKPaymentAuthorizationViewController, didAuthorizePayment payment: PKPayment, completion: (PKPaymentAuthorizationStatus) -> Void) ` is never called

Instead `func paymentAuthorizationViewControllerDidFinish(controller: PKPaymentAuthorizationViewController) {` is called on the PKPaymentAuthorizationViewControllerDelegate


Version:
iOS 9 Simulator (iPhone 6)

Notes:


Configuration:
Xcode 7.0 (7A220)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!