iOS In App Purchase在生产中悄然失败 [英] iOS In App Purchase Fails Silently in Production

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

问题描述

所以我在开发过程中使用Sandbox模式测试了我的应用程序的In App Purchase内容。

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

由于某种原因,应用程序现在在应用程序中单击购买按钮时存储根本不会发生任何事情。

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

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

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 In App Purchase在生产中悄然失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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