I'm trying to find a way for user to restore purchases they previously made before uninstalling app when they have reinstalled the app.
I've got the IAP working but need help with restoring purchases if user uninstalls and then reinstalls app.
I've seen some topics on here regarding this but most of them are with CocoonJS, i'm using Cranberry's IAP plugin and Intel XDK.
This is what i've tried but hasn't worked. I initially did - On request store listing suceeded - Restore purchases but that didn't work so i tried the method shown in the picture.
I would appricate help on this as i'm struggling to get it to work.