Open merbin2012 opened 8 years ago
i've got the same error
Yeah, same here.
Any news about this?
It' not a pluggin issue, you need to upload first , then download it, and you can delete the app and install a debug one and it should work
This may be caused if you have created the in app product recently or have not created it in playstore. It takes time for them to load. During that time you may see this error.
That helped me once https://youtu.be/ZmHi225A6Y4
I had the same error, but my problem was that I made productIds as numbers: 1,2,3,4... But you need to pass a string to the buy function and not an INT. So I fixed it by using num.toString() for the productId nums and after that everything worked perfectly!
Same here, I was accidentally passing -1 to the Buy function and got the authentication error. Weird.
Just I run the code in debugging mode,
inAppPurchase .buy('com.expense.manager') .then(function (data) { // ...then mark it as consumed: return inAppPurchase.consume(data.productType, data.receipt, data.signature); }) .then(function () { console.log('product was successfully consumed!'); }) .catch(function (err) { console.log(err); });
It shown a error message, "Authentication is required. You need to sign in to your google account". Why you not integrate the auto login process? Do I need to install the google login plugin too?