removing my ads with an IAP questions

HI,

**edited original post to be more clear**

ok, maybe I am a little dim here but I need someone to clarify this.

I have set up my product in GD.

I have looked at the sample app and actually a more trimmed down version in a thread here.

I want to remove the ads in my game.

Now, when my purchase is successful what exactly am I getting back from the playstore? I mean am I getting a true or false???

If so where should I be looking for that confirmation? where do I pick it up? for example:

****************************************************

 transaction successful so here is your value (true)

**thanks says the game**

if transactionSuccessful == true

then

removeAds()

else

–do nothing–

end

****************************************************

any input would be great, can someone just write down a simple walkthrough? not bothered about details just the logic.

thankyou

might make it easier if someone could post some code?

Perhaps a simple piece of code with a button to purchase a single item from the playstore?

It would really help :slight_smile:

Have you read the in app purchases guide yet?http://docs.coronalabs.com/guide/monetization/IAP/index.html

Hi Rob,

yup I read that.

When is this long overdue tutorial due for IAP.

I really think it would clear up lots of these questions asked here.

thanks

That is the tutorial, so to speak. Both apple and android iap have older but functional tutorials. It’s guide brings them together and cleans them up. That is the starting point and has everything you need to get started.

might make it easier if someone could post some code?

Perhaps a simple piece of code with a button to purchase a single item from the playstore?

It would really help :slight_smile:

Have you read the in app purchases guide yet?http://docs.coronalabs.com/guide/monetization/IAP/index.html

Hi Rob,

yup I read that.

When is this long overdue tutorial due for IAP.

I really think it would clear up lots of these questions asked here.

thanks

That is the tutorial, so to speak. Both apple and android iap have older but functional tutorials. It’s guide brings them together and cleans them up. That is the starting point and has everything you need to get started.