朋友们,试图在服务器上验证收据,苹果的文档充其量也是含糊不清的。
The values of the latest_receipt and latest_receipt_info keys are useful when checking whether an auto-renewable subscription is currently active. By providing any transaction receipt for the subscription and checking these values, you can get information about the currently-active subscription period. If the receipt being validated is for the latest renewal, the value for latest_receipt is the same as receipt-data (in the request) and the value for latest_receipt_info is the same as receipt.
我检查手机发送的回执字符串是否与我从苹果返回的data.latest_receipt匹配,但不匹配!
在查看我从苹果公司得到的JSON对象时,latest_receipt_info和receipt中的对象也是不同的。
谁能告诉我他们的经验,以及如何验证收据是有效的?
发布于 2015-04-28 22:52:50
这最后一段很可能是关于最新的收据样式。而你用的是旧的。
https://stackoverflow.com/questions/26151370
复制相似问题