根据以下链接中的文档,当用户续订订阅时,Apple 订阅状态服务器将发送此字段 expiration_intent。
Apple's
This is the same as the Subscription Expiration Intent in the receipt. Posted only if notification_type is RENEWAL or INTERACTIVE_RENEWAL.
我在我的生产服务器上收到了所有通知,并检查了所有日志中的 RENEWAL 或 INTERACTIVE_RENEWAL 类型,但始终无法获取此字段的值。
知道为什么会这样吗?尽管我正在获取其余字段及其值。
最佳答案
这似乎是一个错误,或者是文档中的一个错误(其中一个)。我只在验证收据时遇到过这个字段,它将出现在 pending_renewal_info
信息中(并且仅当 auto_renew_status
为 0 时)。
这是我推荐复制的 OpenRadar:http://www.openradar.me/33937017
关于ios - 如何从 Apple 的订阅服务器通知中获取 expiration_intent?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47254834/