I am using Unity IAP for Google Play payment. Most of cases, it works quite good. But sometimes, when the item is not getting consumed, it will not be consumed any more. The scenario is like this:
Step 1: Make a normal payment, at the moment google play tells me the payment is successful, I press the home key
Step 2: I come back to the app, and I get an event (User Cancelled), but acturally the payment is successful
Step 3: I restart the app and expect I got a chance to fetch the item, calling ProcessPurchase and consume this product. But No. It looks like the system doesn’t know this product is at a not-consumed-state.
Step 4: Try to make this IAP again and google play tells me this product has been purchased.
Step 5: What is worse, I cannot make this IAP any more.
Step 6: I tried to log out my google account and log in again and then go into my app, the unfinished IAP get dealt with. But definitely this is not a good way that my users will do.
Any suggestions to deal with this situation?