didRevokeEntitlementsForProductIdentifiers never called

Hi all,

we're trying to integrate the new StoreKit test feature into our app. For such task we would like also to include the revoke operation, by using the new:

Code Block
func paymentQueue(_ queue: SKPaymentQueue, didRevokeEntitlementsForProductIdentifiers productIdentifiers: [String])


However, even implementing that in our SKPaymentTransactionObserver class, seems that the method is never called. Tested against Xcode12b2 / iOS12b2

Are we missing something?
This observer method is only called under certain conditions, such as if a product is refunded. In the Transaction Manager in Xcode, try refunding a transaction on a non-consumable product or an auto-renewable subscription, which should call the paymentQueue(_:didRevokeEntitlementsForProductIdentifiers:) method.

Check out the Introducing StoreKit Testing in Xcode session around timestamp 9:25 for an example of how to use the Xcode environment for testing revoking entitlements.

 In the Transaction Manager in Xcode, try refunding a transaction on a non-consumable product 

I did try that, but my paymentQueue(_:didRevokeEntitlementsForProductIdentifiers:) method was not called. Likewise if the transaction is deleted.


The method is never called for me too..
Also the local receipt isn't updated for a long time. Cancellation time should be populated immediately.
didRevokeEntitlementsForProductIdentifiers is not called for me either when refunding a non-consumable IAP in the transaction manager window. Will it be called when Apple refunds the purchase in real life? The docs seem to imply it will but only for other family members’ devices not the purchaser. 🤔
This method is never called on iOS 14.3. It worked on iOS 14.2 and before. I can run my app in two simulators, one running 14.2 and the other 14.3. When purchasing a non-consumable and refunding it or deleting the transaction paymentQueue(_:didRevokeEntitlementsForProductIdentifiers:) is called only on iOS 14.2.
didRevokeEntitlementsForProductIdentifiers never called
 
 
Q