When does App Store tell the payment queue to call the paymentQueueRestoreCompletedTransactionsFinished(_:) method?

I have created my first product in the features section of my app in App Store Connect. I am trying to test when App Store calls

paymentQueueRestoreCompletedTransactionsFinished(_:) and I'm trying to figure out when I should call the SKPaymentQueue.restoreCompletedTransactions() method. I can't get App Store to call the paymentQueueRestoreCompletedTransactionsFinished(_:) method even when I uninstall my app and run the project from Xcode. The documentation for restoreCompletedTransactions() says that I have to set my app to be restorable. I did not see a setting for that in App Store Connect. Is that implicitly selected when I choose the non-consumable type of product?