首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >苹果收据验证的问题

苹果收据验证的问题
EN

Stack Overflow用户
提问于 2014-10-02 05:57:47
回答 1查看 237关注 0票数 1

朋友们,试图在服务器上验证收据,苹果的文档充其量也是含糊不清的。

从文档的最后一段(https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html):

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_inforeceipt中的对象也是不同的。

谁能告诉我他们的经验,以及如何验证收据是有效的?

EN

回答 1

Stack Overflow用户

发布于 2015-04-28 22:52:50

这最后一段很可能是关于最新的收据样式。而你用的是旧的。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26151370

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档