Cranberry's Cordova plugin works great. It lets the player purchase items as well as checking for previously purchased items.
https://github.com/cranberrygame/cordov ... ayment-iap
Purchase item, on purchase successful, has item, restore purchase, on restore purchases successful, etc.
Googe play (I'm no sure about Apple) has a really long key code you have to get, i think its under API. Once you get a game set up on the Dev console, uploaded, you'll be able to get it. It's really long. You have to copy and paste that into the Cordova IAP object. That's what links your game to Google Play.
Thank you very much.
What do you use for exporting after implementing IAP with crandberry? Cocoon.io, XDK...
Also, do you know where to find the plugin. I guess it's included in the "Construct2 Cordova Plugins" pack of Scirra's store, right?
Thank you again!