Sorry, for a stupid question, but I’m totally stuck at the beginning.
I’ve added IAP products to Google Developer Console. Also I could upload APK for Alpha testing, so keystore, permissions and such should be ok.
I’m using these example codes: https://docs.coronalabs.com/plugin/google-iap-v3/init.html
Problem is that transactionListener function won’t launch. I even tried the following:
local function transactionListener( event ) print(“INIT”) if not ( event.transaction.state == "failed" ) then -- Successful transaction … end print(“INITIALIZING”) store.init( transactionListener ) print(“INITIALIZING DONE”)
In debug log there is just:
INITIALIZING INITIALIZING DONE
No error, no nothing.
I’ve tried testing on an Android device. I’m not even sure anymore is it possible to test with the device or should I test using Google Developer Alpha Testing?
Any ideas?