Posts

Post marked as solved
35 Replies
11k Views
I am perplexed.According to Apple's documenation here:https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ReceiptFields.html#//apple_ref/doc/uid/TP40010573-CH106-SW1Receipts for in-app purchases of non-renewing subscriptions are retained in the receipt permanently. It says so in the above link as:In-App Purchase ReceiptThe receipt for an in-app purchase.ASN.1 Field Type 17ASN.1 Field Value SET of in-app purchase receipt attributesJSON Field Name in_appJSON Field Value array of in-app purchase receiptsIn the JSON file, the value of this key is an array containing all in-app purchase receipts. In the ASN.1 file, there are multiple fields that all have type 17, each of which contains a single in-app purchase receipt.The in-app purchase receipt for a consumable product is added to the receipt when the purchase is made. It is kept in the receipt until your app finishes that transaction. After that point, it is removed from the receipt the next time the receipt is updated—for example, when the user makes another purchase or if your app explicitly refreshes the receipt.The in-app purchase receipt for a non-consumable product, auto-renewable subscription, non-renewing subscription, or free subscription remains in the receipt indefinitely.Over the past few months of testing my app, this has indeed been the case. But now, the Sandbox environment is providing a the receipt only in the receipt resulting from the purchase transaction. Refreshing the app receipt no longer shows the in-app purchases.What gives? Has there been a reversal of this policy or else what am I doing wrong?The purchase process works fine; I finish the transaction and check the receipt. The recepit has the in-app purchase. However, if I issue a StoreKit request to refresh the receipt, the refreshed receipt doesn't show ANY of the non-renewable subscription purchases.Any clues?ThanksStu
Posted
by K6TU.
Last updated
.