go-iap icon indicating copy to clipboard operation
go-iap copied to clipboard

googleapi: Error 400: Invalid Value, invalid

Open mikepc opened this issue 8 years ago • 4 comments

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 avatar Dec 11 '16 22:12 mikepc

@mikepc what is your solution?

munknex avatar Mar 12 '17 15:03 munknex

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 :(.

mikepc avatar Mar 14 '17 17:03 mikepc

Looks like 400 means payment receipt invalid (user is pirate ;)). All valid receipts are verified OK for me.

munknex avatar Mar 14 '17 17:03 munknex

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.

Uplink03 avatar Feb 07 '18 19:02 Uplink03