Hi,
I have implemented an event every time a user buys an IAP. But not every purchase is listed in my google play order history. The most transaction are visible immediately, and some are still not listed after a week. How is this possible? Here is the code of the iap listener:
local function iapListener(event) local transaction = event.transaction if ( transaction.state == "purchased" ) then -- deliver hints settings:addHints() -- we have to consume the hints in order to enable rebuying them store.consumePurchase( transaction.productIdentifier ) -- send event Analytics:sendBoughtHints(howManyHints, settings.openedLevels) elseif ( transaction.state == "cancelled" ) then --handle a cancelled transaction here elseif ( transaction.state == "failed" ) then --handle a failed transaction here local alert = native.showAlert( "Transaction failed", tostring( event.transaction.errorString ) , {"OK"} ) end end