Testing in-app purchases

泄露秘密 提交于 2019-12-03 15:44:01

问题


I want to test in-app purchases in my app on device with different Apple ID(not developer Apple ID). I add device in Apple Developer. But I still can’t do it. How I test purchases on device with not developer Apple ID?


回答1:


if you're getting "Unknown Errors while creating Sandbox Tester, Please check Error Log, email=********@*****.****"

Here's the solution:

  1. some email servers aren't accepted (for example @bk.ru didn't work, @gmail.com accepted);
  2. you must use "strong" password (at least 1 capital letter, 1 number and 1 punctuation char);
  3. you may not use same email address twice (even if previously removed).

Recommendation (also recommended by Apple): gmail supports "extended" pseudo-addresses you may (and should) use for sandbox users: pretend you own myname@gmail.com - you may use myname+anythinghere@gmail.com (anything after + sign)




回答2:


You must create Sandbox Tester Account to test In App Purchase.




回答3:


For testing In App purchase you must have to use Sandbox Tester Account.




回答4:


To add any sandbox testers, add a new user as admin and then login to itunes with the new admin account and try to add the sandbox testers. You will be easily add number of sandbox testers. Let me know if you are still not able to add sandbox testers.



来源:https://stackoverflow.com/questions/40478763/testing-in-app-purchases

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