Cocos2dx-js In a nutshell
After putting it into your instance of Soomla.IStoreAssets, and getting Soomla initialized you should create an event handler and get it subscribed to IAP events.
Now you’re able to start purchasing:
That’s all. And here’s all the code put together to see the big picture: