I am using this code for in-app purchases, took it from RaywernderLich’s tutorial.
// Encode the receiptData for the itms receipt verification POST request. NSString *jsonObjectString = [self encodeBase64:(uint8_t *)transaction.transactionReceipt.bytes length:transaction.transactionReceipt.length];
Now Xcode is saying
‘transactionReceipt’ is deprecated: first deprecated in iOS 7.0
How to fix it?