gpt4 book ai didi

ios - 如何从 Apple 的订阅服务器通知中获取 expiration_intent?

转载 作者:塔克拉玛干 更新时间:2023-11-02 20:30:57 26 4
gpt4 key购买 nike

根据以下链接中的文档,当用户续订订阅时,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.

https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StoreKitGuide/Chapters/Subscriptions.html

我在我的生产服务器上收到了所有通知,并检查了所有日志中的 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com