—
I do not want to update the stable 244 to beta 247, so I can not open your capx. That is the question: what is the analogue of "Has product" in your plug-in? How can I verify that the user made a purchase of a specific product after restoration or initialization?
upd
Once the "Restore Purchases" successfully completes, then any attempt to purchase the item that user already have purchased in the past, immediately results in triggering "On purchase succeeded" without popping up any payment popup.
So in other words, the store detects that the purchase has been completed in the past and automatically triggers the "On purchase succeeded" event.
So it is enough to have one trigger "On purchase succeeded" both for checking the purchase itself and for restoring purchases?