How to create free in-app-purchase?

孤街醉人 提交于 2019-12-11 02:36:11

问题


I need one of my in-app purchases to be free, possibly with the provided by Apple IAP structure?

Currently the type of that purchase is non-consumable while it's payed everything is okay, but the problem is that if i made it 'free" from price tiers, i receive it's ID in invalidProductIdentifiers.


回答1:


NOTE This was accurate when it was written, but has since become outdated

You cannot have a free In App Purchase. Think about it. What would Apple gain by giving you free hosting for your stuff? If you charge for it they get 30% and that makes them happy but 30% of nothing is nothing. You will need to host the content yourself.

Source: My experience with IAP




回答2:


Apple have now added a Free price tier for in app purchases. I've tested it with a non-consumable for an app that is currently in the store and it works perfectly.

Just go to 'Manage In-App Purchases' in iTunes Connect, select the product and change the price tier to Free. Then, when you fetch the SKProduct in your app the price will be 0.




回答3:


In-app purchases are for products which can be purchased, or has minimum Tier1 pricing, else it cannot be consider into inapp process.

You app should have list of products which are available for in-app, else other should be skipped from the in-app process.




回答4:


This is possible for non-consumable IAPs:



来源:https://stackoverflow.com/questions/17144444/how-to-create-free-in-app-purchase

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