SKErrorDomain Code=0 “Cannot connect to iTunes Store” in IAP iOS Objective c

后端 未结 2 1749
旧巷少年郎
旧巷少年郎 2021-01-04 00:48

when i tested IAP for my app, it throws following error

Error Domain=SKErrorDomain Code=0 \"Cannot connect to iTunes Store\" 
UserInfo={NSLocalizedDescriptio         


        
相关标签:
2条回答
  • 2021-01-04 01:24

    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.

    0 讨论(0)
  • 2021-01-04 01:43

    Looks like Apple's servers are down for Sandbox environment. Live purchases are working just fine!

    0 讨论(0)
提交回复
热议问题