应用程序购买/订阅中的自动续订如何在 iPhone 中自行续订
我想了解自动续订部分是如何工作的。到目前为止,我已经完成了
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当自动续订订阅到期时,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