Hi.
When I try to include google IAP V3 in my APP I get an error. This error is telling google IAP v3 is not exists (I set it up in build.settings). Is there any way to download this plugin on my PC? ( not source code )
Can you post your build.settings? Also copy/paste the exact messages your getting in your console log.
Rob
I already fixed it but I have another problem with store.
function storelistener(event) if event.transaction.state == "purchased" then if event.transaction.identifier == "android.test.purchased" then store.consumePurchase("android.test.purchased",storelistener) currentlevel = currentlevel + 1 composer.removeScene("campaign") composer.gotoScene("campaign",{params = {selectedlevel = currentlevel}}) end store.finishTransaction(event.transaction) else store.finishTransaction(event.transaction) end end store.init(storelistener) local function skiplevellistener(event) if event.phase == "ended" then store.purchase("android.test.purchased") if settings.sounds then audio.play(buttonsound) end end end
Purchased was successful but listener wasn’t even called and nothing happened.
function storelistener(event) if event.transaction.state == "purchased" or event.transaction.state == "restored" then if event.transaction.identifier == "android.test.purchased" then settings.ads = false utility.savetable(settings,"dryyourtears.json") native.showAlert("Thank you!", "Your support is greatly appreciated!", {"Okay"}) end store.finishTransaction(event.transaction) elseif event.transaction.state == "refunded" then if event.transaction.identifier == "android.test.purchased" then settings.ads = true utility.savetable(settings,"dryyourtears.json") end store.finishTransaction(event.transaction) else store.finishTransaction(event.transaction) end end store.init(storelistener) local function removeadslistener(event) if event.phase == "ended" then store.purchase("android.test.purchased") if settings.sounds then audio.play(buttonsound) end end end
Same here, and I can’t use it again because nothing even show when I press button (first time it was working but no more times).