Not sure why this code is not listing the items. It doesn’t give an error but doesn’t show any items. Error does return nil. I have changed the ID just to post on the forum only.
local REMOVE_ADS_ID = "com.removed.game.noads"
local function iap_callback(self, products, error)
if error == nil then
print("Listing products")
for i,p in pairs(products) do
print(i)
print(p.title)
print(p.description)
end
else
print(error.error)
end
end
local function iap_init(self)
iap.list({ REMOVE_ADS_ID }, iap_callback)
end