go-iap
go-iap copied to clipboard
Playstore VerifyProduct error
Hi. I'm trying to validate product purchase but it returns "Error 400: Invalid Value, invalid". Could you explain what I'm doing in wrong way?
When I got this error I was verifying a subscription with VerifyProduct
instead of VerifySubscription
, or the other way around.
There are two functions and you pretty much have to try the second one if the first one fails if you sell both one-off purchases and subscriptions in the app. At least I can't find any way to differentiate which is which just by looking at the receipts.