应用程序购买/订阅中的自动续订如何在 iPhone 中自行续订

发布于 2024-11-04 16:17:40 字数 514 浏览 2 评论 0原文

我想了解自动续订部分是如何工作的。到目前为止,我已经完成了

验证应用内购买收据

http://www.phpriot.com/articles/verifying-app-store-receipts-php-curl

和 Apple 文档。我已经完成了应用程序购买部分,但无法获得它的自动续订流程。

当购买过期时,苹果服务器响应状态为:21002 收据有效但已过期。

我想理解的是 谁触发了新的购买?应用程序商店本身在后端吗? 应用程序如何知道续订已发生?或者说,更新证书如何到达申请处理?

兄弟, 达善

I am trying to understand how the auto-renewal part works. So far i went through

Verify receipt for in App purchase

http://www.phpriot.com/articles/verifying-app-store-receipts-php-curl

and Apple Documentation. I have got the App purchasing part complete but am not able to get the auto-renewal flow of it.

when the purchase expires the apple server response has status:21002 the receipt is valid but has expired.

what i am trying to understand is
WHO triggers the new purchase? app store itself in the backend?
How does the app get to know that renewal has happened? or in other words, how does the renewal certificate reach application for processing?

Br,
Darshan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

苦妄 2024-11-11 16:17:41

当自动续订订阅到期时,App Store 会进行收费。发生这种情况时,您的申请不会收到通知。当您验证已延期的自动更新收据时,您的服务器会收到带有新到期日期的附加收据。

此处记录:http://developer.apple。 com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/RenewableSubscriptions/RenewableSubscriptions.html

The App Store does the charging when the auto renewable subscription is expired. Your application is not informed when this happens. When you validate an auto renewable receipt that has been extended your server receives an additional receipt with the new expire date.

Documented here: http://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/StoreKitGuide/RenewableSubscriptions/RenewableSubscriptions.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文