Restore Consumable Google Play IAP

Hey guys, I’m with an issue when relaunch the app while confirmation screen of google play purchase, because I can’t save the purchase data while the application in running in background of google play payment process. So if the user relaunch the app while the purchase confirmation and before the google play system closes I can’t give the player reward of the purchase. Is there any way to restore this purchase on app initialization that give the player the reward not cosumed yet?

Did they complete the purchase? If not, they would need to purchase again. The device logs would tell.

They completed, but closes the app on the confirmation screen of google play, and don’t consumed the product because there is not enough time to get back to app before closes everything. Technically they have the receipt on email but it needs to contact the support to get the reward. Is there a way to save (restore) the purchase and gave it if it’s not consumed safelly and automatic?

Edit: I can’t save because the app is just running on background of google play process as I said before, so we don’t have all the purchase information until they got back on app (closes the google play proccess panel), but it’s not occurring because the app is being killed before.

Please provide the device logs. Does the product restore if you reinstall the app? That would trigger a restore. https://discussions.unity.com/t/699654