服务器到服务器轮询自动续订订阅 [英] Server to Server Pollling Auto Renewable Subscription

查看:205
本文介绍了服务器到服务器轮询自动续订订阅的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为自动续订订阅实施服务器端收据验证.现在,当用户关闭订阅或自动续订时,没有任何通知从Apple服务器发送到我们的服务器.我们想在订阅即将到期时轮询苹果服务器.那么我们该怎么做呢?

We are implementing server side receipt validation for auto renewable subscription. Now when a user turn off the subscription or when it auto renew there is no notification send from apple server to our server. We want to poll apple server when the subscription is about to expire. So how can we do this?

是否有办法在特定日期安排这种轮询?

Is there a way to schedule such polling at specific date ?

推荐答案

无法收到诸如取消之类的通知,因为这些通知仅在Apple直接取消订阅时发送.

Not get notifications such as cancel as these notifications are only sent when a subscription is canceled by Apple directly.

续订通知,成功续订的订阅已成功进行自动续订.请检查订阅到期日期"以确定下一个续订日期和时间."通常,iTunes将在预定自动更新的订阅到期前一天尝试向用户帐户收费.如果更新成功,则不会出现服务器到服务器通知,因为自动更新订阅未进入过期状态.目前尚不支持在沙盒环境中模拟此事件."

The renewal notification, "Automatic renewal was successful for an expired subscription. Check Subscription Expiration Date to determine the next renewal date and time." In general, iTunes will attempt to charge the user account a day before an auto-renewing subscription is scheduled to expire. If the renewal is successful, there is no server-to-server notification because the auto-renewing subscription did not enter into an expired state. There is no support at present to simulate this event in the sandbox environment."

了解更多: https://forums.developer.apple.com/message/283579#283579

这篇关于服务器到服务器轮询自动续订订阅的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆