Testing IAP

I have submitted an IAP and new build to the App Store. I made the release to be manual as I wasn’t convinced the IAP was working but they have approved it for release.
How can I test it, as it doesn’t work in TestFlight?
I suppose I am asking how should I have tested it?

You will test it in the sandbox environment. I wrote a post a couple years ago that might help. See the last section for Testing the In-App Purchase

Thanks Ryan, I was just reading it.