I'm running into a refund issue when testing in-app purchases in sandbox mode. I'm able to successfully purchase items but roughly 1 out of 3 times, when the refund window pops up, it says it cannot connect even though our webhook servers can verify the transaction id sent from apple. My internet connection is good and I've varied the wait period from purchase to refund from 15mins to 2 hours. Any help would be greatly appreciated.
Sandbox refund testing "Cannot connect" error
Are you able to reproduce and generate a sysdiagnose? Would like to take a look at whats occurring. Attached that to a feedback ticket and include a screen recording, your sandbox Apple Account, physical location and details to what transaction and product you were attempting to test a refund in sandbox with.
https://developer.apple.com/bug-reporting/profiles-and-logs/?platform=ios
http://feedbackassistant.apple.com
Once you file, share the FB# here and we can take a look.