Successful purchases on Android coming back as pending for a second time

Hi,

Has anyone come across this issue:

  • Player purchases an IAP

  • The IAP has a transaction ID of GPA.000… and a purchaseToken of asbadbababfda.a…

  • The purchase successfully validates on the client and server

  • A few hours later, the player is notified of a pending purchase

  • The pending purchase is for the same item, but this time, the transactionID is the previous IAP’s purchaseToken (asbadbababfda.a…)

  • The purchase successfully validates on the client and server

I’m trying to understand if there’s a bug in the plugin/Unity/Google, or if these are fraudulent purchase hacks.

Thanks

No, they are not hacks. We are working to formalize a common transactionID, Google is not consistent. What version of IAP are you using? Be sure to read the release notes, the issue is described there. In the Unity Editor, go to menu Window/Unity IAP/IAP Updates…

Hi @JeffDUnity3D ,

Thanks for getting back to me. To be clear, the vast majority of the time, the Google transaction ID is in the normal GPA… format. It’s just that every so often we get a pending purchase notification of an already settled IAP except that this time the transaction ID is the original token’s purchaseToken.

This is something that can normally happen, is that correct? Do you happen to have a doc or link somewhere where I can read up on what’s going on, please? In the best case, players are getting double what they’ve paid for hours/days later, which can lead to confusion as they think they’ve made accidental purchases and are asking for refunds

Yes, we’ll also be updating to the latest plugin

In the release notes, as mentioned

1 Like