How should an app validate the purchase of a non-consumable product that was previously refunded? Assume validation is done only by local analysis of the IAP receipt (for maximum security).
StoreKit tests (using Xcode 12.4 with a 14.4 device simulator) suggest the IAP receipt remains in its refunded state and shows no trace of the latest purchase date. So the app blocks content.
Is this normal? Does this happen in the production environment also?
Receipt state after re-purchasing:
• 1703 (transaction ID): Shows the ID of the first purchase
• 1704 (purchase date): Shows the date of the first purchase
• 1712 (cancellation date field): Shows the refund date
Thanks!
StoreKit tests (using Xcode 12.4 with a 14.4 device simulator) suggest the IAP receipt remains in its refunded state and shows no trace of the latest purchase date. So the app blocks content.
Is this normal? Does this happen in the production environment also?
Receipt state after re-purchasing:
• 1703 (transaction ID): Shows the ID of the first purchase
• 1704 (purchase date): Shows the date of the first purchase
• 1712 (cancellation date field): Shows the refund date
Thanks!