In order to test my in-app purchases with iOS 13 I have to update one of my test devices to iOS 13.1 beta.
On iOS 12 and before there was a special Sandbox login in <
Install your app with in-app purchases via TestFlight.
I had the same issue looking for a solution than I found this article, in-app purchase testing
I think from ios 13 and onward, we don't require a sandbox user for in-app purchase testing neither for dev nor prod.