ofxInAppPurchase addon

Hi all, I’ve created an addon to allow easy implementation of in-app purchases for Apple devices.

to use the addon you create an object at itunesconnect

you say

  
item = new ofxInAppProduct("myItemName");  
  

and the addon creates a password for the object

to buy it you call

  
item->buy()  
  

to check if it’s purchased:

  
if(item->isPurchased()){  
///do stuff  
}else{  
//dostuff  
}  
  

to download the addon go to this OF topic:

http://forum.openframeworks.cc/t/trouble-mixing-objc-and-c+±for-in-app-purchase/11197/15

THIS IS GREAT

Can’t wait to see Android version of this some day.