Can anyone help me understand where it went wrong?
Let me know if you need further info.
Thanks in advance.
You call the restore every tick with your code here. But that's not the root of your problem.
In order to test IAP, you must upload your apk first to Google Play and download it via the store.
If you just copy your exported apk to your device, it will not work.
At least, this is how I can remember it.
Best,
Andy