Hi everyone !
I’m currently working on my first Corona app, and have some troubles with the store API. In fact, I think the problem is I don’t fully understand 2 main points :
1/. Can you get some informations about your store items without purchasing them ? The goal would be to display the price of my items, that I would get from the store.
I kind of understood you can do it with "store.loadProducts( )" with the AppStore, but what about the Play Store, which return false on store.canLoadProducts ?
2/. How do you “consume” items gotten from the Play Store ? I can purchase some of them with my current code, but when I try to buy them again I have the error “You already bought this item”, whereas I called "store.finishTransaction( event.transaction )" at the end of my storeTransaction listener (I wasn’t really original there, only copying the sample function and adding some print for the moment).
After reading the documentation, I started to doubt : does the “finishTransaction” even work with the Play Store ? And more important, if it doesn’t (or even if it does) : how do you signal to the Play Store that a consumable item has been used ?
Thanks in advance for the help !