- Home /
How can I allow users to purchase multiple IAPs of the same type in one go?
Hi there,
I am not new to programming or Unity development but I am certainly still a junior developer. This is the first question I have asked on here so I will try to be detailed.
I am using Unity's In App Purchasing system, which I must say has been fairly simple to set up.
The app I am working on will sell licenses through in app purchasing. In this case a school will set up an account and then purchase X amount of licenses to be used by students and teachers. With traditional IAPs it is clear how I can allow users to purchase a SINGLE license. Where I am having trouble however is trying to understand how I can allow the user (In this case the school) purchase X amount of that IAP.
Upon setup the user will decide how many licenses they need. Traditionally, they would just purchase one and receive their in game perk. What I need is to dynamically scale the number of this singularly priced IAP that they purchase. I hope I've described the problem well.
It seems to me right now that the only option is to charge with a tier based system. This is because of how Apple and Google make you define your IAPs.
For example:
0 - 20 licenses is tier 1 and costs 29.99.
20 - 40 licenses is tier 2 and cost 49.99.
We would really like to charge per head/license though so it would be great if I could find a way to dynamically charge for multiple of the same IAP (costing perhaps 6.99 each). Again remember the school will purchase however many they need upon setup and then be free to use them as they please.
Thanks in advance for any help on this topic. I haven't been able to find much online. Fadjboy08.