iOS 应用内购买在生产中默默失败 [英] iOS In App Purchase Fails Silently in Production

查看:28
本文介绍了iOS 应用内购买在生产中默默失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我在开发过程中使用沙盒模式详细测试了我的应用程序的应用内购买内容.

So I've tested my application's In App Purchase content at length during development using the Sandbox mode.

由于某种原因,当点击购买按钮时,应用程序在 App Store 中上线,什么也没有发生.

For some reason now that the application is live in the App Store when clicking the purchase button nothing happens at all.

看起来 Apple 审核团队能够根据服务器日志成功完成购买(这可能是错误的).

It looks like the Apple review team was able to successfully complete a purchase based on server logs (could be wrong about this tho).

我正在使用 SwiftyStoreKit 来处理应用内购买.

I'm using SwiftyStoreKit to handle in app purchases.

任何想法为什么它可以在开发和沙盒模式下完美运行,而在生产中调用 SwiftyStoreKit.purchaseProduct 方法时甚至不做任何事情?

Any ideas why it would work perfectly during development and in sandbox mode and not even do anything when calling the SwiftyStoreKit.purchaseProduct method in production?

如果我不得不猜测这与 App Store 服务器需要时间来处理所有内容有关.花了一点时间才出现在 App Store 上.但我并不完全相信这就是问题所在.

If I had to guess it has to do with the App Store servers needing time to process everything. It took a little bit to appear on the App Store. But I'm not completely confident that is the issue.

推荐答案

突然间这似乎奏效了.它现在要求提供 Touch ID 以确认购买.所以看起来这是一个 App Store 服务器传播问题.

All the sudden this seems to be working. It now asks for the Touch ID to confirm purchase. So it looks like it was an App Store server propagation issue.

这篇关于iOS 应用内购买在生产中默默失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆