There is an open source project that handles in app billing for Android and they are planning to launch iOS as well. Check out http://project.soom.la - you can either look at the source code as reference on Github or you can use it as a library/SDK which is probably safer.
I did everything but the blog is wrong in a lot of point like: said put this to header and show the .mm and vicaversa and didn’t show the complete code of the last function, and also didn’t put the sharedobject in the base *.m class and such…
i looked after Ray version which seems pretty cool but it’s only for cocos2d and not cocos2dx and also contains a few deprecated functions too… so I’m totally lost now…
Can anybody please provide a complete tutorial which is compatibile with iOS 8.1 and cocos2d-x 3.0 ? Or give a code sample or something. I have no idea how to solve this!