This appStoreReceiptURL method is a replacement for the deprecated Receipt transaction method with SKPaymentTransaction. And everyone says just use this call:
NSURL *theURL = [[NSBundle mainBundle] appStoreReceiptURL];
It is intended to return the URL of the receipt, if any. But for me there is not one, since this value is equal to zero, and as far as I can judge, this should not be. I work on iOS 7 and made some in-app purchases (sandbox on the device). Now I'm trying to add another purchase in the application, a subscription to an automatic renewal of a subscription, and I need to look at the receipt to get the validity period of the subscription. But I cannot go through this simple step, because the value is always always zero.
Does anyone know why?
source
share