Hi there,
I am fully comfortable with implementing IAP upto the point where the purchase is made.
Once a purchase is made, how do I make it do what I want?
I’m kinda trying to use the code below, but have no idea to set the isPro variable to true if a purchase is made, or how to remove ad’s
Can anyone point me in the right direction on how to implement this?
[lua]–runs on startup
local isPro = false
local function displayAd()
if isPro == false then
ad.init(blah,blah)
main()
elseif isPro == false then
main()
end[/lua] [import]uid: 62706 topic_id: 30111 reply_id: 330111[/import]