开发者

validating Receipt in in-App-Purchase?

开发者 https://www.devze.com 2022-12-21 03:05 出处:网络
what is purpos开发者_运维知识库e of the following in in-App-purchase 1)validating Receipt 2)purchase

what is purpos开发者_运维知识库e of the following in in-App-purchase 1)validating Receipt 2)purchase 3)product request must I do all three process in my in-app-purchase application? any example in different way (without apple explanation)?


  1. Validate receipt. This is where you validate the purchase is correct and not spoofed by a user. This is best to be done on a secure server somewhere.

  2. Purchase. This is the process where the user buys your product. You have to call StoreKit.

  3. Request products. This is where you get product info from the App Store, so you get the correct price etc.

Yes. You must do all these 3. The code examples provided by Apple should work for these, expect validate receipt.

Try this http://blog.mugunthkumar.com/coding/iphone-tutorial-–-in-app-purchases/. Not sure if it works or not, I found it with google.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号