首页 > 解决方案 > 苹果应用内购买服务器回调 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"
}

标签: ios

解决方案


根据苹果文档,“latest_receipt_info”是最近续订收据的 JSON 表示。仅在续订成功时发布。未针对 notification_type CANCEL 发布。在此处查看更多详细信息。


推荐阅读