• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ios - Apple 自动续订订阅何时续订?

[复制链接]
菜鸟教程小白 发表于 2022-12-12 13:26:48 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题

我正在尝试让用户能够使用 Apple 的自动更新应用内购买来购买图书。我在我的服务器上保留了一份订阅副本,以便用户可以通过多种设备和网络访问他/她的图书。

我想弄清楚当 Apple 自动续订订阅时,如何让我的服务器上的订阅保持最新。我正在考虑让一个每小时运行一次的 cron 作业来运行 PHP 脚本。此脚本将从我的数据库中选择将在下一小时内到期的订阅,并与 Apple 核对订阅收据以查看它们是否已自动续订(即 latest_receipt_info 中有更新的信息返回信息的字段)。然后,我可以使用有关自动续订订阅的信息来更新数据库。如果我在 Apple 的响应字典中找不到任何有关自动续订的新信息,则订阅将会过期。

所有订阅是否都会在到期前至少一小时自动续订(我会错过任何订阅)吗?订阅是否可以在过期后自动续订(或者用户必须购买新订阅)?我的想法有什么缺陷吗?



Best Answer-推荐答案


The renewal process begins with a “preflight” check, starting ten days before the expiration date. During those ten days, the App Store checks for any issues that might delay or prevent the subscription from being automatically renewed—for example, if the customer no longer has an active payment method, if the product’s price increased since the user bought the subscription, or if the product is no longer available. The App Store notifies users of any issue so that they can resolve it before the subscription needs to renew, ensuring their subscription isn’t interrupted.

第一个问题的答案是 10 天。您不会错过任何内容,并且由 App Store 处理。

During the 24-hour period before the subscription expires, the App Store starts trying to automatically renew it. The App Store makes several attempts to automatically renew the subscription over a period of time but eventually stops if there are too many failed attempts.

有可能在之前的故障后更新。例如,如果用户的支付信息无效。这就是为什么他们提前十天开始。 App Store 将提示用户更正他们的信息。如果他们在续订前 24 小时完成此操作,一切都会好起来的。

如果它在“尝试失败次数过多后”停止,则在下一个订阅期之前不会再试一次。

另外值得注意的是,更改订阅价格并不一定会禁用订阅。

关于ios - Apple 自动续订订阅何时续订?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27716836/

回复

使用道具 举报

懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注0

粉丝2

帖子830918

发布主题
阅读排行 更多
广告位

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap