Hi Naomi,
Your issue sounds similar to something I experienced using the Amazon IAP plugin. It tuned out that the way I was originally requiring store in my main, while the same as the sample code provided with the plugin, didn’t work correctly for me. It was perhaps related to the fact that I init the store later in another module rather than in main, which it looks like is what you are doing, too. Anyway, to fix it, I use this if statement in main to init store so this might help you:
[lua]
if system.getInfo(“targetAppStore”) == “amazon” then
store = require “plugin.amazon.iap” --covers Android for Amazon store
print(“using amazon iap plugin”)
else
store = require(“store”) --covers Apple and Google Play stores
print(“using regular corona iap”)
end
[/lua]
here’s the original forum thread