Is anyone able to perform Receipt validation?

社会主义新天地 提交于 2019-12-11 03:05:44

问题


Is anyone now online able to perform receipt validation in a Mac application?

  1. Have you used the ASN generated files in the application?

  2. Are you able to produce a sample receipt by automatic popup of the iTunes authentication?


回答1:


The best way I know to check receipts is by letting Receigen generate the code - different for each new version. It's probably more secure than what you can develop in a reasonable time.




回答2:


I have it working, but i am using open source code to do it. Using this code in your main , and changing your app bundleID/version, it validates the receipt.

In this question you can see the code i used.

Mac App Store Receipt Validation Code?




回答3:


I've got an example receipt at my question here (Can Purely On-Device In-App Purchase Receipt Validation Be Done With iOS6?). I've generated the ASN files and am trying to use them now. I used the compiler here. I'm not sure if it all works though, just starting testing in earnest now.

Chris.



来源:https://stackoverflow.com/questions/5799431/is-anyone-able-to-perform-receipt-validation

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