Verifying In App Purchase Receipt from Client

前端 未结 2 466
[愿得一人]
[愿得一人] 2021-02-06 15:57

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:21

    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.

提交回复
热议问题