Reputation: 7929
Is there a way to buy a multiple of an item (SKU)?
For example: I have an SKU named LifePoint, and i want to buy 100 LifePoint.
(in another word N * my_item).
I found this workaround, but am looking for something better.
PS: I'am using In-app Billing Version 3 and my item is Unmanaged (to buy my product many times).
Thanks in advance!
Upvotes: 5
Views: 4010
Reputation: 78
I'm pretty sure that it's been made deliberately impossible to do that to prevent apps from stealing large amounts of money from the user. Each purchase requires confirmation using the Google in-app billing popup which stops that kind of thing happening.
The way I've done something similar is to set up different SKU's (as in the answer you linked to) but to use the SKU 'title' field to decide how many items to award the player. If you do it that way you can easily change those values in the Google Play console without having to update your app.
Upvotes: 2