IAP testing

I have implemented IAP to test locally and tested it out in virtual device. Is it possible to test IAP using apple store connect on a virtual device or should I use a real device for that testing ?? I have gone through various documents but there are no any document addressing this issue 😞

IAP testing
 
 
Q