question

Ruben Ornelas avatar image
Ruben Ornelas asked

How to setup Validate Google Play Purchase - Economy V2

Hello,

Following the tutorial for Google + Unity Purchase validation (Tutorial), it is mentioning that we should set the Id as the same of the purchase PlatformId, which comes from the Play Market. However, we cannot change the item id (no option), which made us think that it probably meant that we had to set the Friendly Id instead. Apparently that is not the case, since we are getting the following result to our validation request:

-/Client/ValidateGooglePlayPurchase: There is no item in the catalog with an ID matching the product ID in the receipt

How is this suppose to be set exactly?

Which Id is the server using to check the purchase and how can we change it to match the one used in the store?

apisunity3d
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ruben Ornelas avatar image Ruben Ornelas commented ·

Thank you for pointing us in the right direction. It is concerning the fact that it is still up as a tutorial although it is wrong.

We tried using the Redeem Google Play API, but we are getting this error:

/Inventory/RedeemGooglePlayInventoryItems: NotConfiguredMarketplace: GooglePlay marketplace is not set up for title "TITLE ID" tenant "SOME ID THAT I HAVE NO IDEA OF WHAT"

It is not very obvious to us what is the issue here, since we have the AddOn installed and we added the Ids to the Marketplace.

Any idea what could be causing this issue?

0 Likes 0 ·
kylemc@microsoft.com avatar image kylemc@microsoft.com Ruben Ornelas commented ·

Have you set the Service account key in the Google Add-On? That's required for the Economy V2 integration.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.