MacOS non-consumable in-app purchase works correctly in a sandbox mode, however fails the submission.

My MacOS application has one non-consumable in-app purchase.



The application checks if the purchase already exists. If not, a new purchase is requested. An error message obtained from the StoreKit is displayed in an alert box.


It works perfectly well in sandbox mode both for a new purchase and for restoring a purchase.


However, when I submit the app for review, it is rejected. From the screenshot sent by review team I can read the error message:


The operation could not be completed. (kCFErrorDomainCFNetwork error 310.)


BTW, the iOS release of the app using the same class for in-app purchase, was approved without problems.