在Android的应用程序内多次购买 [英] Android in-app multiple purchases
问题描述
有没有办法使用应用程序内购买的做多1个项目? 例如 - 同一项目,我可以买2
Is there a way to do more than 1 item using in-app purchase? For example - can I buy 2 of the same item?
推荐答案
没有,不是在这个时候。你可以购买多个非托管的项目,但他们需要分开购买。
No, not at this time. You can buy multiple unmanaged items, but they'll need to be separate purchases.
作为一种解决办法,我见过的人创造不同的项目数量不同的SKU。例如:
As a workaround, I've seen people create separate SKUs for different item quantities. For example:
- potion_1 = 1药水($ 1)
- potion_2 = 2药水($ 2)
- potion_3 = 3药水($ 3)
- 等等...
此外,还可以让用户买的应用程序专用信用您的应用程序(同样,你需要创建不同的SKU重新presenting不同的信用值),然后写自己的店面来交换这些信用产品。这是一个有点更多的工作,但是这给你更多的控制和灵活性结帐流程。
Alternatively, you can allow users to buy in-app credits specific to your app (again, you'll need to create different SKUs representing different credit values), then write your own storefront for exchanging these credits for goods. It's a bit more work, but this gives you a lot more control and flexibility over the checkout flow.
这篇关于在Android的应用程序内多次购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!