菜鸟教程小白 发表于 2022-12-12 15:52:43

iphone - 应用内购买测试凭证


                                            <p><p>我们可以在将应用提交到应用商店进行购买后使用测试帐户凭据吗?测试账号凭证的有效期是多久?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>不,测试帐户不适用于 AppStore 上的应用。测试帐户仅在沙盒环境中工作。这在 <a href="https://developer.apple.com/library/mac/documentation/NetworkingInternet/Conceptual/StoreKitGuide/DevelopingwithStoreKit/DevelopingwithStoreKit.html" rel="noreferrer noopener nofollow">In-App Purchase Programming Guide</a> 中有说明:</p>

<blockquote>
<p>When you launch your application from Xcode, Store Kit does not
connect to the App Store. Instead, it connects to a special sandbox
store environment. The sandbox environment uses the infrastructure of
the App Store, but it does not process actual payments. It returns
transactions as if payments were processed successfully. The sandbox
environment uses special iTunes Connect accounts that are limited to
In-App Purchase testing.</p>
</blockquote>

<p>在 AppStore 上发布应用后,应用开始指向实时 AppStore(它不会进入沙盒环境)。</p></p>
                                   
                                                <p style="font-size: 20px;">关于iphone - 应用内购买测试凭证,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/19509882/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/19509882/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: iphone - 应用内购买测试凭证