I am using this code for in-app purchases, took it from RaywernderLich\'s tutorial.
// Encode the receiptData for the itms receipt verification POST requ
Replace with something like:
[NSData dataWithContentsOfURL:[[NSBundle mainBundle] appStoreReceiptURL]];
Convert NSData to NSString after that.....
NSData
NSString