Mac In-App Purchase Window Not Being Triggered In App Review

I have a macOS app which includes a non-consumable In-App Purchase, which I have submitted for App Review.

App Review tell me that they are unable to see my window which is triggered when the IAP hasn't been purchased - yet on all my systems (including fresh installs), it works as expected.

I'm unclear as to what's different about the App Review environment, compared with mine, and how to handle it. I'm also unclear as to whether a DTS can help, because:

From https://developer.apple.com/library/archive/technotes/tn2431/_index.html

DTS is unable to provide steps to trigger a specific issue that was experienced during App Review

Here's what I'm doing (abridged version):

  • In my main ViewController viewDidLoad(), I'm using TPInAppReceipt to do a receipt.validate()
  • Assuming receipt validation fails, I'm then calling SwiftyStoreKit.completeTransactions()
  • Assuming I still haven't recognised a valid purchase, I then present my IAP purchase window.

On all my test systems, this works as expected - the window displays when I haven't purchased it, and then doesn't on subsequent launches once I have purchased it. Yet App Review say they cannot see it.

I've even sent them a screen recording showing what should happen...

Any clues as to what I'm doing wrong?!

Many thanks!

For the benefit of readers of the future:

Thankfully DTS were able to help, and pointed out how I was being silly:

  • I hadn't appreciated that all apps using App Store get a receipt - so I added a refreshReceipt routine to make sure my development version got a receipt to match App Review;
  • I was also only checking for the presence of a valid receipt - not looking inside it for the relevant productID.

Schoolboy errors - hope this might help other noob devs!

Mac In-App Purchase Window Not Being Triggered In App Review
 
 
Q