Skip to content

Signature is not provided in google receipt #312

@Tekrajs

Description

@Tekrajs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions