测试 iOS 定期订阅购买
有谁知道如何通过定期订阅来测试来自 StoreKit 的后续订阅通知?我已经测试了第一次购买是否正常工作,但我想测试一旦第二个月的交易生成并发送到我的应用程序后我是否可以正确处理事情。
Does anyone know how to test subsequent subscription notifications from StoreKit with recurring subscriptions? I've tested that the first purchase works correctly but I want to test that I'm handling things correctly once the 2nd month's transaction has been generated and sent to my application.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在这里找到了答案:
自动续订订阅在自动续订时是否会发送 SKPaymentTransactionStatePurchased 交易?< /a>
paymentQueue:updatedTransaction: 将通过 SKPaymentTransactionStateRestored 调用
I found the answer here:
Do auto-renewable subscriptions send an SKPaymentTransactionStatePurchased transaction when they auto-renew?
paymentQueue:updatedTransaction: will get called with SKPaymentTransactionStateRestored