IAP Error - Auth requ, although logged in

Sorry, I believe my last reply was intended for a different thread. You’re questions are on topic. Lets continue here since all the information is here. Since no one has responded on the other thread, I’ll remove it.

I’m not sure what’s going on. Helping people with what goes on inside the various vendors portals is tough because I can’t see what you’ve done. Let me research this a bit further.

Rob

Have you tried these steps?

https://productforums.google.com/forum/#!topic/play/WKGwRFUYJqg;context-place=topicsearchin/play/category$3Aandroid

Basically on your Android device, open Settings. From the settings screen select “Apps” or “Applications”. This should give you a list of installed apps. Find the “Google Play Services” app and tap on it.

Click on Storage->Clear Cache/Data. Depending on the version, it may be two different buttons.

Rob

HI Rob, thanks again!

Yeah I’ve attempted all steps provided within that link. I also created a new gmail account and attempted with that (as it is not affiliated with any developer account), but to no avail - 10002

I can provide you with access to the developer console, or provide screenshots of the console if required.

I’ve also found a reply where you suggested IAP Badger to another developer. I think I’ll try that and report back.

Regards

You can try IAP badger, but you’re still going to have to be able to login through Google Play. The link I provided above has additional steps to try including removing the Google Play app. You need to exhaust those steps. 

Can you make purchases through Google Play? What happens if you try and make an in-app purchase from another app?

Sure enough, IAP Badger results in the same issue.

I tried all steps within the link, including uninstalling GPS and letting it re-update, and removing and adding my account again.

I can purchase from the store like normal, as well as IAPs like normal, and have never faced this issue in day-to-day purchases.

Is the Monetization Guide still in the queue for updating? I’m starting to think I must have missed a console-related step

Hi Rob,

I have some more information: Reading the developer.android.com documentation regarding Testing IAPs (https://developer.android.com/google/play/billing/billing_testing.html), I must have the APK within Alpha or Beta channels, with testers assigned. I have done this, but still require the Production Channel Application to be ‘Published’ before testers can access the Alpha or Beta channels of the application. I was not aware of this, thinking that IAP testing was available from production channel, even if the application was not published.

I can only blame myself for wasting your time, my sincerest appologies!!

I will publish our application *without* the IAPs on the Production channel, upload a version *with* IAPs on the Closed Alpha channel, then I should be able to test properly.

I fully understand your prediciment of “Helping people with what goes on inside the various vendor’s portals is tough because I can’t see what you’ve done”. I’ll do what I said above, and will report back in the next day or two.

Many thanks once more,

Chester

Hi Rob,

I have now got a build published in the Production Channel, as well as a build within the Alpha Channel - The Alpha Channel has the code (above) within it.

I am now recieving a “The item you requested is not available for purchase” error, despite having items within the console to purchase .

I have added the lines;

debugText.text = debugText.text.."\n- products: "..tostring(event.products) debugText.text = debugText.text.."\n- invalid products: "..tostring(event.invalidProducts)

Which prints out ‘nil’ for both .products and .invalidProducts.

Any idea why this might be occurring?

I can make a new thread if required.

Regards

Chester