How to code in-app purchases?

This may very well be the most rarely used piece of code. So, when I am ready with volume 2 of The Path of Light, how do I code it to become an in-app purchase? Is it something I should do, or should I leave it to the guys from Hosted Games?

I’ve seen an example with *check_purchase but I am still not sure how to do it.


I think it is a question for @dfabulich.

COG will discuss and implement these for you on a per-game/author basis.