implementing in-app purchases for android devices

Just follow the IAP badger documentation and you will be all set.

Thank you  :slight_smile:  it’s really simple and useful

i can’t use this for windows phone games?

Hi Vimaleee1994,

No - I’m afraid at the moment IAP Badger does not support IAP on Windows Phone. This is because IAP Badger is just a wrapper class for the various lua store libraries exposed by the Corona SDK (which is different to the libraries offered by Corona Cards).

Windows Phone IAP integration in Corona Cards requires some really specific code and C# project build settings to make IAP work (see here for more info). This would just break something like IAP Badger, which works at a much higher level.

Of course, if the guys at Corona ever expose a lua interface for the Windows store front, I’ll look at updating the libraries.

Simon.

PS - If anyone thinks I’ve misunderstood the Corona Cards Window Phone documentation, I’d be happy to look at this again.

game is crashing while clicking the store button which opens the store scene. Not at the first click but after i played the game for some times or when i enter the store scene multiple times. what is the problem