I'm using googleapis to verify my subscription server side, but I get following error, google documents have no information about this error, can I ask for help if anyone else had faced the same issue.
Method: https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token} (GET)
Error Response: { "error": { "code": 400, "message": "Your request is invalid for this subscription purchase.", "errors": [ { "message": "Your request is invalid for this subscription purchase.", "domain": "androidpublisher", "reason": "subscriptionInvalidArgument" } ] } }
I figured it out, for newly created inapp subscription items, v2 api should be used
https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/purchases/subscriptionsv2/tokens/{token}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With