I have a sandbox test user which I used to test In-App purchases. Everything was working until I upgraded to macOS Catalina (10.15.3).
If I try to refresh a receipt when it's not available with SKReceiptRefreshRequest() it fails with error: Error Domain=SKErrorDomain Code=0 "(null)".
Calling exit(173) shows error message: {application name} is damaged and can't be opened. Delete {application name} and download it again from the App Store.
In any case I can see a warning in Console.app: Subsystem: com.apple.commerce Category: CommerceKit message: <ReceiptRefreshRequest: 0x7fb7cb439c90>: Error fetching receipt for {application name} - Error Domain=com.apple.commerce.server Code=500317 "(null)".
There was no problem on Mojave so it was broken in Catalina. Did anyone found a solution?