简体   繁体   English

在游戏IOS中免费进行应用内付款

[英]Free in app payment in game IOS

In my game, I want to mix free in app payment and 0.99$ in app payment. 在我的游戏中,我想混合使用免费的应用程序付款和0.99 $的应用程序付款。

I mean to continue to level 2, user needs to pay 0.99$ using in app payment. 我的意思是继续到第2级,用户需要使用应用程序付款来支付0.99 $。 But level 3 and 4 are free of charge and level 5 costs 0.99$. 但是第3级和第4级免费,第5级则需要0.99 $。

I need to know from IOS server or save in database if user gets level 3 or 4 to restore the game if it was uninstalled. 我需要从IOS服务器上了解或保存在数据库中(如果用户达到了3或4级),以恢复游戏(如果已卸载)。

I know I can get purchased items from IOS server when they are paid, but I don't know if it's possible to get an item that was purchased for free or even if it's possible to purchase an item for free using in app payment. 我知道我可以在付款时从IOS服务器上获得购买的物品,但是我不知道是否有可能免费获得购买的物品,或者是否可以通过应用程序付款免费购买物品。

Maybe I need to get some user info and save to my database to track its state. 也许我需要获取一些用户信息并将其保存到数据库中以跟踪其状态。

Thanks in advance for your help. 在此先感谢您的帮助。

Consumable an Non-Consumable In-App Purchase can't be Free. 消耗品非消耗品应用内购买不能免费。 You have to choice a price (0.99$ minimum) 您必须选择一个价格(最低0.99 $)

I think you have to make one IAP with levels 2, 3 and 4. And an other one with levels 5 (and perhaps 6 and 7). 我认为您必须制作一个级别为2、3和4的IAP,而另一个级别为5(可能是6和7)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM