Sign In Register

How can we help you today?

Start a new topic
Answered

Running into some issues trying to recover non-consumable items.

Hello, 


We are currently trying to implement a system for recovering non-consumable purchases and running into some issues. I'd greatly appreciate if you could take a look and let us know if we are missing something or point us in the right direction.


What we'd like to do is enable players to recover non-consumable goods if they lose their player data or transfer to a new device. To accomplish this we are getting the player's purchase history data from Google attempting to send another GooglePlayBuyGoodsRequest from the newly initialized app tied to a new playerId.


The main issue we are seeing is that upon launching that GooglePlayBuyGoodsRequest we get a {"verificationError":"5"} message. Which from the docs looks to be "The orderId in the signedData has previously been processed". So I looked around and found the option "uniqueTransactionByPlayer:boolean" which from docs "If set to true, the transactionId from this receipt will not be globally valdidated, this will mean replays between players are possible".  I am a bit confused about what it means by "replays" but I figured that meant it could be tied to different player ids. This sounded like what we needed and the backend data seemed to reflect that but setting this option still yielded the {"verificationError":"5"} message.


Can you think of anything that we might be missing here or is this approach off base?


Thanks for your time,

Joshua Thom


Best Answer

Hi Joshua,


We've addressed this with Toby recently in a ticket, it has been added to our Feature Request backlog.


Thanks,

Liam


Answer

Hi Joshua,


We've addressed this with Toby recently in a ticket, it has been added to our Feature Request backlog.


Thanks,

Liam

Thanks Liam, 


I appreciate you getting back to me. Keep up the great work.


Best,

Joshua

Hi Josh


Could you raise a ticket with the failing request in it please. I've been bale to get this to work on ios today so I need to work out whats going wrong in your instance.


Thanks


Gabriel

Hi Gabriel,


Thank you for looking into this issue. I submitted this ticket https://support.gamesparks.net/helpdesk/tickets/1025. Please let me know if you need any more info.


Best,

Josh

Login to post a comment