StoreKit Sandbox environment: "Cannot connect to iTunes Store" when restoring
| Originator: | bunnyhero | ||
| Number: | rdar://10114020 | Date Originated: | 2011-09-13 |
| Status: | Open | Resolved: | |
| Product: | iPhone SDK | Product Version: | 4.3 |
| Classification: | Serious bug | Reproducible: | Sometiems |
Summary:
Calls to SKPaymentQueue restoreCompletedTransactions results in "Cannot connect to iTunes Store" error.
Steps to Reproduce:
1. invoke [[SKPaymentQueue defaultQueue] restoreCompletedTransactions] in the sandbox environment
2. Enter Apple ID and password into alert
Expected Results:
- Transactions restored; paymentQueueRestoreCompletedTransactionsFinished called.
Actual Results:
- No transactions restored; paymentQueue:restoreCompletedTransactionsFailedWithError: called, with the following NSError: Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store" UserInfo=0x4236620 {NSLocalizedDescription=Cannot connect to iTunes Store}
Regression:
- The same code was able to restore transactions successfully on Sept 10, 2011, but not today.
- The released version of the app (in the App Store) does not have this problem in the production environment.
Notes:
The IAP test user account I am using: ***@****.***
See the Developer Forums for others with the same or similar issues with the sandbox enviroment; for example:
https://devforums.apple.com/thread/118399?tstart=0
https://devforums.apple.com/thread/122270?tstart=0
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!