Verifying In App Purchase Receipt from Client

前端 未结 2 986
悲&欢浪女
悲&欢浪女 2021-02-06 15:45

I read (almost) all the answers on verifying in-app purchase, and actually I already implement it in a server-side fashion. But managing a server sometimes could be too much exp

相关标签:
2条回答
  • 2021-02-06 16:09

    I hack inapp cracker and discover a way to block it client side: the receipts and transaction IDs it creates have a predictable scheme that's easy to spot. I put all the details here: spot fake receipts client side update

    hope this helps

    0 讨论(0)
  • 2021-02-06 16:20

    This answer explains quite well why you must use server side checking to limit the effect of some "general purpose" crackers, like "IAP cracker"; besides chaining the iTunes json request in your content delivery API is quite convenient and the answer is fast.

    Of course if your aim is to provide some content already in the app but locked, you may feel it is not convenient to setup a server specifically for this, but I will ask you to do this experiment:

    1. make an app with some good content and this content already locked in the app (so no content server need)
    2. add some analytics just to track the usage of this locked feature
    3. after some month, compare the number of purchases with the number of new users using the paid feature.
    4. at this point it will be clear for you that adding a server script just for receipt validation is a good investment; besides there are some services, which are very cheap (e.g.: urban airship) we already do this for you, so you don't need to setup an hardware for this.
    0 讨论(0)
提交回复
热议问题