Hi,
I just started going through the process of adding IAPs to my app, and I’d like to understand some things before I start my coding. I am only using the iOS store, in case that makes any difference in these questions. Here they are:
-
Should store.init( transactionListener ) only exist in main.lua? (not in the scenes where store.purchase() is called)
-
Is store.loadProducts() necessary? Since I already know what my productIDs are, do I really have to load their strings from the app store?
-
If there are multiple IAPs, will they call the same transactionListener function, and will the unique IAP determination be made there? (using transaction.productIdentifier)
-
Does my app have to do anything with the receipt that is sent from apple in JSON format?
-
As far as failed/cancelled transactions, is there anything my app has to do when they occur besides not give the attempted purchase item?
Thanks for all the help! I know there are quite a few questions, but I tried to keep them short so it wouldn’t take too long. If you can’t answer all of them, I’m fine with individual answers.
Thanks again,
Dan