in-app-purchase
in-app-purchase copied to clipboard
Signature is not provided in google receipt
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
I also have the same problem. I have submitted a pull request that will hopefully fix this problem.
https://github.com/voltrue2/in-app-purchase/pull/319