I am implementing an in-app-purchase for my ios app. I already received some successful purchases and upgraded their account to premium. Everything was well and good until I received a certain response from apple (it happened three times already) which has no transactionReceipt field. I'm not sure how I can validate it since the transactionReceipt is what I use to validate the transaction. I recently received the reports from Apple and confirmed that there was actually a transaction. How can I validate the transaction without the transactionReceipt? Or is there a way I could get the transactionReceipt using the transactionId or something?
PS: It's an auto-renewing subscription. Sorry if I didn't specify it early.
PS: Since it's an auto-renewing subscription, I don't only need the receipt to upgrade the account to premium, but also to identify when it's going to expire.
You can prompt the user to restore purchase when you find a response with no transaction receipt.
This way you will get the purchase receipt of the user's latest transaction.