when i tested IAP for my app, it throws following error
Error Domain=SKErrorDomain Code=0 \"Cannot connect to iTunes Store\"
UserInfo={NSLocalizedDescriptio
SKPaymentTransactionStatePurchased is not called in Live purchases, Only SKPaymentTransactionStateFailed is called but amount has been deducted from user account. Now user should click the restore button to restore the purchased products. We don't know the solution for this. Now It is the big headache for all the IOS developers. Apple's servers are down for Sandbox environment.