> Hey — I believe there is a bug in Ultimate IAP and restore purchases does not work. Let me see if I understand it correctly. 'On restore succeeded' should trigger 'On purchase succeeded'.
> If this is the case than the plugin has a bug and it does not trigger ' On purchase succeeded' after 'On restore succeeded'.
> If you look at your example (UltimateIAP.capx) and purchase "premium_account" (Purchase works). After the purchase, close the app and open it again. Click blue restore Purchases button and it does not restore the purchase.
> I tested this on Android. I Have not tested it on iOS.
You misunderstood my previous explanations. On restore succeeded condition does not trigger On purchase succeeded. They are not connected trigger-wise.
If a customer buys a product, then reinstall/change device, the following options occur:
a) If you won't run the Restore purchases, and user clicks to buy the product, then he will be charged again
b) If you run the Restore purchases, and the user clicks to buy the product, then the On purchase succeeded will be triggered straight away as the information about purchases has been loaded to the device.
Hope that clears out your doubts. In case of further questions, let me know.
— What is the correct process to restore purchases?
If a user bought 10 out of 20 non-consumable products, how do we know what products the user has?
Telling them to click purchase of the 10 products that they bought would most likely have your app rejected on iOS.
How do we tell which products the user has after triggering 'On restore succeeded '?