In app purchase testing in iOS

巧了我就是萌 提交于 2019-12-04 13:36:12

I fixed this. There are some points need to careful about. See below:

  • Make sure your developer account did the paid application contract. see image below:
  • Create Products on the iTunes Connect.
  • Implement In-App-Purchases code and configuration settings.
  • Create one build with Distribution profile.
  • Upload build on store. Add build to current version. Add In-App-Purchases to the version on iTunes Connect.
  • Then try to test, if still not then submit app once then cancel it. then after try to test on your device.
  • Make sure when you test with sandbox user, you need to sign-out from your already logged in account from device settings, and login with sandbox ID.
  • some screenshots might be helpful.

please check these settings capabilities --> In-App purchase --> set to "ON" and at developer.apple.com--> enable In-App purchase for App ID.

and please test app on Device instead of simulator.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!