App and InApp Purchase second rejection

给你一囗甜甜゛ 提交于 2019-12-03 13:58:25

This is the bit that caught my attention:

i can't verify a recipit. All this functions works correctly in sandbox

Is it possible that you forgot to change the URL that you are using to verify receipts from the sandbox URL to the live URL?

I recently had this problem with an app submitted to Apple. There is a fallback system that needs to be in place for server side in app purchase validation. It is documented in Apple, but VERY well hidden in tech note : http://developer.apple.com/library/ios/#technotes/tn2259/_index.html

Here is the way to do it :

"Always verify your receipt first with the production URL; proceed to verify with the sandbox URL if you receive a 21007 status code. Following this approach ensures that you do not have to switch between URLs while your application is being tested or reviewed in the sandbox or is live in the App Store."

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