That is fairly easy. You need the ‘Restore In-App Purchases’ node for that. Input = Consumable Product Flags and Player Controller.
Make sure you do your purchases well, only those purchases that are not consumable will be returned in the array. Then if you have the array of things that someone has bought you can compare them with the things they have and put everything right when needed.