Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signature is not provided in google receipt #312

Open
Tekrajs opened this issue Apr 7, 2020 · 1 comment
Open

Signature is not provided in google receipt #312

Tekrajs opened this issue Apr 7, 2020 · 1 comment

Comments

@Tekrajs
Copy link

Tekrajs commented Apr 7, 2020

The sample data shows that signature along with data is required,
{
"data": {Signed Data JSON},
"signature": "Base 64 encoded signature string"
}
But in my purchase receipt I only get the following things

{"orderId":"xxxxxxxxxxxxxxxx","packageName":"xxxxxxxxxxxx","productId":"xxxxxxxxxxxxxx","purchaseTime":1586239152181,"purchaseState":0,"purchaseToken":"xxxxxxxxxxxxxxxxxxxxxxxx","autoRenewing":true,"acknowledged":false}

And when validating it with iap it throws error saying
{"error":{},"status":498,"message":"Invalid Purchase Token"}
Could you please help me out ?
Thanks

@emersonhsieh
Copy link

I also have the same problem. I have submitted a pull request that will hopefully fix this problem.

#319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants