简体   繁体   中英

How can I verify an iOS app buyer

I want to offer a hardware freebie to buyers of my iOS app. This means I need them to provide their shipping address etc.

How can I verify that the person requesting the freebie is an actual buyer?

It seems to me that I can make the offer through the app but how do I know if the user isn't providing multiple names and addresses?

I could disable the offer once it is used but it would be restored if the user deletes the app and reinstalls it.

Any ideas or recommendations? Much appreciated.

在您的SKPaymentTransaction响应中,如果用户购买了(transactionState为Purchased ),则可以将其UUID发送到服务器,CloudKit或您自己的服务器,并且当他们从设备发送硬件请求时,您可以包含UUID,并进行检查云存储的值,并且仅在以下情况下才向他们发送硬件:(a)他们购买了(b)您还没有发送给他们。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM