In-App Purchases Help!

So I want to have in-app purchases in my game, but the explanation on the site is very confusing. Can someone just show me a VERY simple way of making an in-app purchase? I want something simple like this:

1
2
3
4
5
6
7
function buy(event)
if event.phase == "began" then
--BUY THE IN-APP PURCHASE WITH AN IDENTIFIER CODE LIKE "com.test.inapppurchase.one"
end
end
 
button:addEventListener("touch",buy)

@anish,
you might want to consider In-App purchases till the patent problems are sorted. Just my two bits.

cheers,

?:)

What patent problems?

@anish,
if you are unaware, then you are better off being so...

cheers,

?:)

views:1497 update:2011/9/28 21:38:26
corona forums © 2003-2011