Running into some issues trying to recover non-consumable items.
J
Joshua Thom
started a topic
over 7 years ago
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
C
Customer Support
said
over 7 years ago
Hi Joshua,
We've addressed this with Toby recently in a ticket, it has been added to our Feature Request backlog.
We've addressed this with Toby recently in a ticket, it has been added to our Feature Request backlog.
Thanks,
Liam
J
Joshua Thom
said
over 7 years ago
Thanks Liam,
I appreciate you getting back to me. Keep up the great work.
Best,
Joshua
Tech Support
said
over 7 years ago
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.
Joshua Thom
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
Hi Joshua,
We've addressed this with Toby recently in a ticket, it has been added to our Feature Request backlog.
Thanks,
Liam
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstCustomer Support
Hi Joshua,
We've addressed this with Toby recently in a ticket, it has been added to our Feature Request backlog.
Thanks,
Liam
Joshua Thom
Thanks Liam,
I appreciate you getting back to me. Keep up the great work.
Best,
Joshua
Tech Support
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
Joshua Thom
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
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics