question

Oshri avatar image
Oshri asked

Invalid Receipt for Validate Google Play Purchase

In the past few days, I tried to make the Validate Google Play Purchase work, I followed all threads, but eventually, after following all the steps and requirements I am still getting the "Invalid receipt" error.

I am using Unity IAP to generate the receipt, from the response I am extracting the "signature field" and "json" field which sent in the request, I activated the google add-on with "Google App Package ID" and "Google App License Key" field in,

Will appreciate your help with trying to get more information on the specific problem with the receipt.

The Title ID is: E55FF


Here are the values I am sending in the request:

request.ReceiptJson = {"orderId":"GPA.3347-3500-6696-56696","packageName":"com.innplaylabs.animalkingdommaster","productId":"pack_tier11_1","purchaseTime":1589028074545,"purchaseState":0,"developerPayload":"{"developerPayload":"","is_free_trial":false,"has_introductory_price_trial":false,"is_updated":false,"accountId":""}","purchaseToken":"idampeamkboganbgcomidaoh.AO-J1OyBWlFAA0V0snuSUtEE8nqKRLPWP-nE5GitPYBSeB6hKZSgq07nd23BIGcGGufarLTNVRg06vVGhb1WozX3UirxNG4QyvVDn2w9BU3vcusBtCRqNCeD7ww0PC_M3fVUR4AYgKM34sqs2MR9B6Wh6ajXTOy0ZQ"}

request.Signature = dXzAT8X1Ne4qr8J7RlUAuPoRlMZXSPLufRXUOR+UWwhc2BGtaWM4+JiHLH7nUtam8Z5jMpnbXG/Vugu341h0r0WS0urMKpKM1TnWQTmr95M0BEGmAE4Fh+RYERq6MNGJWBHRsBZxqPE9EPLEFYOYIp7P4sliI43fLcysV6j4sVl1giEybFOaiiN7el0wB4CRMzd3FmgR/TCN75irlkwyZ2vAu15wvJQ755X6kCT+7QZUZi4ER+gaZVJxY0f5VtbxQWtP1wK+QgrkBVJCxPEnP2W3+P0DTopQyc9lxlkPD95Riyc8nmbRRKKGchM4RVFlsuB6N3gEOtf4ttvojO0kmg==
4 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.

Citrus Yan avatar image Citrus Yan commented ·

Would you please re-check the configuration values in your Google Add-ons pages?

0 Likes 0 ·
Oshri avatar image Oshri Citrus Yan commented ·

Yes, I did.
Also compared the string of the License Key to make share it identical to the one in google play console

0 Likes 0 ·
Citrus Yan avatar image Citrus Yan Oshri commented ·

I can see that you also created a support ticket for this, we'll directly provide support in that channel.

0 Likes 0 ·
Show more comments

0 Answers

·

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.