I turn on restrictions on device(iphone4). I click in-app purchase button. It show login popup.
I try to login(use sandbox tester user).
not feedback form application. Why?
local store = require( "store" ) local function storeTransaction( event ) local transaction = event.transaction if ( transaction.state == "purchased" ) then elseif ( transaction.state == "cancelled" ) then elseif ( transaction.state == "failed" ) then end store.finishTransaction( event.transaction ) end local function myclick( event ) store.purchase({"com.myid"}) return true end store.init( "apple", storeTransaction ) local object = display.newImage( "image.png" ) object.x = 500 object.y = 500 object:addEventListener( "tap", myclick)