I'm working on in-app purchases in my iPad app. I can get the productsRequest:didReceiveResponse and get an array of products.
My problem arises when I add SKPayment to SKPaymentQueue. After adding a product to the queue in the paymentQueue:updatedTransactions transactions always have the SKPaymentTransactionStateFailed state.
I NSLog transaction.error , and this is what it returns:
Domain error = code SKErrorDomain = 0 "Unable to connect to iTunes Store" UserInfo = 0x339120 {NSLocalizedDescription = Unable to connect to iTunes Store}.
And also I cannot add any new test users to the Manage User.
Any solution is welcome. Thanks
source share