Are there any in app purchase tutorials for android out there?
I followed the documentation Unreal has provided, but it is REALLY limited, and the explanation isn't very clear. First off, it is using the Unrreal Match 3 example to show how it is done, which is fine. But, it only covers one item. What if you have multiple items? Do you have to set them up separately in the same manner, or can they all be lumped into an array? I tried looking at the blueprints themselves within the project, and I am still very confused. How do I make sure that the purchased items stay in tact (i.e. if a user uninstalls my app and reinstalls later). Simply saving a bool variable as true or false doesn't seem like the best option, as the variables coincide with the save file (or am I missing something?). So if the save file gets deleted, how do I make it so my users don't have to repurchase non-consumable items? (Such as removing ads).
I should note that this is my first time doing in-app purchases, so my understanding of all of this is very limited. A decent tutorial or more info on the documentation would really be helpful. Does anyone know of a good tutorial that covers this?
asked Jul 17 '16 at 07:35 PM in Blueprint Scripting
If you are getting prices for your sale items you put all IDs in an array, even if it's just one it belongs in an array.
When you are making a purchase you make a purchase with only one ID.
When you request to restore in-app purchases any non-consumed purchases are returned.
Make sure the user is logged in before attempting any purchase, leaderboard, or achievement calls.
When looking for the blueprint nodes make sure you choose the ones with the blocky icon as shown circled in red, and NOT the function node.
Don't forget to setup your Google Play License key and Games App ID. I don't have a link to this information immediately but it's pretty easy to find.
Follow this question
Once you sign in you will be able to subscribe for any updates here