ios - 苹果应用内购买服务器回调 JSON 不包含“latest_receipt_info”键?
问题描述
在 2019-05-29 之前,回调 json 有“latest_receipt_info”键,但今天回调 json 确实有任何收据信息示例:
{
"auto_renew_product_id": "com.xx.xx",
"notification_type": "DID_CHANGE_RENEWAL_STATUS",
"environment": "PROD",
"password": "xxxxx",
"auto_renew_status_change_date_ms": "1559178490000",
"auto_renew_status_change_date_pst": "2019-05-29 18:08:10 America/Los_Angeles",
"auto_renew_status_change_date": "2019-05-30 01:08:10 Etc/GMT",
"auto_renew_status": "false"
}
解决方案
根据苹果文档,“latest_receipt_info”是最近续订收据的 JSON 表示。仅在续订成功时发布。未针对 notification_type CANCEL 发布。在此处查看更多详细信息。
推荐阅读
- typescript - Google 云功能的自定义通知问题
- android-studio - Android Studio 如何从数据库中检索列表?
- stack - Moodle Stack 中的罗马数字
- httprequest - HttpRequestMethodNotSupportedException:不支持请求方法“GET”
- sql - 同一个聚集索引的表比较多,可以省略卫星表上的PK索引吗?
- jgit - 如何实现“git checkout”
." 在 Jgit 中 - php - 来自 json 的分组数据
- c++ - 在 textEdit() Qt/C++ 中的光标位置添加彩色单词
- java - 我该如何切换课程或改进这一点
- python - <,> 和 == 之间的运行时差异(python)