go-iap
go-iap copied to clipboard
googleapi: Error 400: Invalid Value, invalid
I decided to post an issue here in case you may have missed it on SO:
http://stackoverflow.com/questions/41091275/error-400-invalid-value-invalid
@mikepc what is your solution?
I moved the code to one of the node APIs and used a node iap package that worked flawlessly, I really didn't have enough information to debug it at all :(.
Looks like 400 means payment receipt invalid (user is pirate ;)). All valid receipts are verified OK for me.
I was getting this error while passing a subscription receipt to VerifyProduct. It took me 5 minutes to remember that I once saw a VerifySubscription function, and that I bitched that there are two functions, unlike Apple's one. I used that and the problem was gone.