我正在使用Sandbox账户测试自动续订订阅,并观察在一个购买周期(初始购买、自动续订、应用内购买产品到期)期间收到的服务器到服务器通知。
接收到的每条通知的notification_type日志:
INITIAL_BUY // initial purchase
DID_CHANGE_RENEWAL_STATUS
DID_RENEW // first renewal
DID_RENEW // second renewal
DID_RENEW // third renewal
DID_RENEW // fourth renewal
DID_RECOVER // why does this happen?
DID_RENEW // fifth (last) renewal
DID_CHANGE_RENEWAL_STATUS // auto-cancellation in sandbox mode我用不同的沙盒测试器反复尝试了这个过程,并注意到了相同的行为。对于为什么每次都会收到DID_RECOVER通知,有什么解释吗?
发布于 2021-11-25 02:39:11
你收到通知很奇怪,有两个原因:
计费问题相关的通知
根据文档,此通知在
中不可用
https://developer.apple.com/documentation/appstoreservernotifications/notification_type
https://stackoverflow.com/questions/69560172
复制相似问题