Maybe this has already been answered but I've searched around a bit and haven't found much. What are the steps for restoring app purchases with CocoonJS?
Here's the test scenario:
1. User installs app
2. User purchases IAP (non-consumable, managed product).
3. They uninstall the app
4. Later they reinstall the app
5. Somehow they need to restore their IAP without buying it again
Right now I'm using the IAP object and it's seems to work great for everything except restoring purchases, but I'm not sure how to set up the events for this.
Is is the "Restore Purchases" action supposed to trigger the "Purchase completed" trigger? Because it never does for me.
This tutorial doesn't have an answer and looks like cvp has the same problem as me:
scirra.com/tutorials/645/in-app-purchase-on-google-play-android-using-cocoonjs
Any help or comments appreciated :)