在沙盒模式下检查应用程序内购买自动续订订阅
问题描述:
Im在收到我的应用程序自动续订更新延迟。在沙盒模式下检查应用程序内购买自动续订订阅
仿佛用户签约7天的订阅与1周免费试用一个例子,
- 装置1周= 3分钟
- 自动续订会发生5次。
- 总时间= 15分钟。
所以根据上述信息,在前15分钟内,我应该有一个积极的订阅。但有时它不会返回活动订阅。
我发现的问题是甚至在前3分钟后,收据还没有更新,所以当我比较过期日期和当前时间时,它返回订阅期限届满。
这是沙盒模式中常见的东西或即时我做错了什么?
请帮帮我。
答
一些我如何解决这个问题。最初在我的设备中,我没有自动设置我的时间设置。有些时候我设定的时间比实时多5分钟。因此,在验证过期日期时,它总是显示为过期订阅。
由于沙盒模式下测试的时间段非常短(3分钟)一周。我猜,它给了我错误的信息。
希望这会有所帮助。谢谢。
答
Testing Auto-Renewable Subscriptions
When testing auto-renewable subscriptions in the test environment, keep in mind that the duration times are compressed. Additionally, test subscriptions only auto-renew a maximum of six times. Table 3-1 lists the compressed duration times.
Table 3-1 Subscription durations for testing
Actual duration
Test duration
1 week 3 minutes
1 month 5 minutes
2 months 10 minutes
3 months 15 minutes
6 months 30 minutes
1 year 1 hour
有时沙盒会模拟用户取消更新 – Paulw11