Even if it is obvious and just for the record I commented out the restore piece of the code and ofc no message and I could actually purchase in Sandbox environment.
Post
Replies
Boosts
Views
Activity
I am also hit by this out of nowhere.
Found this: https://developer.apple.com/documentation/appstorereceipts/status