pos*_*sha 3 objective-c subscription ios auto-renewable
我的应用程序中自动续订的收据更新出现延迟。
举例来说,如果用户订阅了 7 天并免费试用一周,
因此,根据上面的信息,在前 15 分钟内我应该有一个活跃的订阅。但有时它不会返回有效订阅。
我发现的问题是,即使在前 3 分钟之后,收据也没有更新,因此当我将到期日期与当前时间进行比较时,它会随着订阅期到期而返回。
这是沙盒模式中常见的情况还是我做错了什么?
小智 5
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
Run Code Online (Sandbox Code Playgroud)
请参考此网址: https ://help.apple.com/app-store-connect/#/dev7e89e149d