1

i have implemented in-app purchase in my application and tested with sandbox it is working well. after testing sandbox i have submitted to approval and it is approved by apple currently my product status is ready for sale now i am testing with iOS 9.0 it is working well but when testing same product with iOS 10 +version its returen me error in fail state Please check attached error

error.code.rawValue: 2, error.code: SKErrorCode, error.errorCode: 2, 2, error.errorUserInfo: ["NSLocalizedDescription": Cannot connect to iTunes Store], ["NSLocalizedDescription": Cannot connect to iTunes Store], error.localizedDescription: Cannot connect to iTunes Store, error.userInfo: ["NSLocalizedDescription": Cannot connect to iTunes Store].

Ketan Sodvadiya
  • 464
  • 5
  • 11

1 Answers1

0

iTunes error codes are a mess... Assuming you have your IAPs configured correctly since they were working on iOS9, that error is thrown when trying to purchase from a subscription group that is already active for that iTunes account.

Try restoring purchases for that user and see if it works.

enc_life
  • 4,973
  • 1
  • 15
  • 27