Getting SKError.unknown when cancelling purchase via remote MENU button (instead of Cancel button)

Originator:mihai.seremet
Number:rdar://46949319 Date Originated:December 26 2018, 3:18 PM
Status:Open Resolved:No
Product:tvOS SDK Product Version:tvOS 12.1.1 (16K45)
Classification:StoreKit Reproducible:Always
 
Summary:
When you attempt to buy an IAP from an app, you get prompted to confirm your IAP (e.g. you get an alert with the title 'Subscription Terms' and two options 'Continue' and 'Cancel'). If you select 'Cancel', your transactions observer will receive a transaction with an error with SKError.paymentCancelled, which is expected. But, if you press remote MENU button (which is essentially the same as selecting 'Cancel'), transactions observer will receive a transaction with an error with SKError.unknown.

Steps to Reproduce:
1. Attempt to purchase an IAP
2. Sign In with a Sandbox iTunes Account, if needed
3. When 'Subscription Terms' alert is prompted, press on remote MENU button
4. Done

Expected Results:
- The error returned by StoreKit to the transactions observer should correspond to a 'payment cancelled' error.

Actual Results:
- The error returned by StoreKit to the observer is an 'unknown' error.

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!