iOS In App Purchase Fails Silently in Production

寵の児 提交于 2019-12-04 05:23:44

问题


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.

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

I'm using SwiftyStoreKit to handle in app purchases.

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?

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.


回答1:


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.



来源:https://stackoverflow.com/questions/43359067/ios-in-app-purchase-fails-silently-in-production

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!