Turning off the internet while transaction processing , throwing duplicate transaction error if try again to purchase by reconnecting
Below are the steps and observations that i found
-When i disconnected the internet after tapping buy button, i see purchase fail popup .
- On tapping OK button on purchase fail popup, i see purchase fail log getting triggered with error “user cancelled”
- I reconnected to internet in same session and tried again to purchase same IAP(consumable) … A popup comes up with text “u already own this item” . And also i see DuplicateTransaction error in the Log.
- After that every time I tap buy button, it just triggers “DuplicateTransaction” until i restart the game.
-I tried to call ConfirmPendingPurchase, but nothing changing.
-If i restart the game, Everything works normal