I have a Mac OSX app available for download through the Mac App Store. The application uses in-app-purchase to purchase the only unused item (unlocking the Pro version for the application). The purchase mechanism works fine on all my machines (both in testing and in production, I even spent my own money testing the application in the store!) Many customers have successfully purchased the Pro version.
However, several customers also reported problems trying to purchase, and looking at anonymous usage data available, it can be assumed that a significant percentage of customers may have problems. In almost all cases, it seems that
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
called with transaction.transactionStateset to SKPaymentTransactionStateFailedwith corresponding transaction.errorset toDomain=SKErrorDomain Code=0 "Unknown Error." NSLocalizedDescription=Unknown Error.
How should this be debugged? What are the cases that could lead to this error? It would be great to have a list so that you can find out what can be done.
For example, on my machine, trying to buy, and then, when I ask for the Apple ID password, if I click Cancel, this will lead to the above error. What are other reasons? (Since several users reported problems, and apparently they didn’t just decide to cancel their purchase ...)
UPDATE: "Little Snitch 3", , ( , Mac App Store) sandbox.itunes.apple.com( storeinappd - ), Apple. - ? , - ?
! , ( ) !