Open TheMadProf opened 1 month ago
Do you attempt to place another purchase immediately after the previous one? If so, does this error also appear if you wait a while (a few seconds up to a minute) before starting a second purchase?
The problem persists even if the purchases are days apart from each other.
My current game has IAP coin packs which the player can buy.
When the player first buys a coin pack, it works fine.
The second time the player tries to buy the same coin pack, it throws up an error stating the player already owns the product.
The third time the player tries to buy the same coin pack, it works fine.
The above image shows the purchase error on every other attempt by the user.
The above code handles the purchase and resetting of the products. I have tried several different things to try and resolve the issue, moving the InAppPurchaseResetPurchase(token) around and putting it in a loop.