I have documented how to implement in-app purchases on mobile (Android and iOS) on In-app purchases (wiki page). This is a much updated and extended version of what was previously in the TInAppPurchases class API docs.
(A complete example showing this will follow later too.)
Another new useful documentation page is how to create custom components. For this, the primary example is in examples/advanced_editor.