菜鸟教程小白 发表于 2022-12-11 19:55:55

ios - 在沙盒模式下检查应用内购买自动续订订阅


                                            <p><p>我的应用程序中的自动续订收据更新出现延迟。 </p>

<p>例如,如果用户订阅了 7 天的订阅和一周的免费试用,</p>

<ul>
<li>表示 1 周 = 3 分钟</li>
<li>自动续订将发生 5 次。</li>
<li>总时间 = 15 分钟。</li>
</ul>

<p>所以根据上面的信息,在前 15 分钟内我应该有一个有效的订阅。但有时它不会返回事件订阅。 </p>

<p>我发现的问题甚至在前 3 分钟之后,收据还没有更新,所以当我将到期日期与当前时间进行比较时,它会在订阅期到期时返回。</p>

<p>这在沙盒模式中很常见还是我做错了什么?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><pre><code>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-1Subscription 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
</code></pre>

<p>引用这个网址:
<a href="https://help.apple.com/app-store-connect/#/dev7e89e149d" rel="noreferrer noopener nofollow">https://help.apple.com/app-store-connect/#/dev7e89e149d</a> </p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 在沙盒模式下检查应用内购买自动续订订阅,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/44715994/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/44715994/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 在沙盒模式下检查应用内购买自动续订订阅