Google IAP - "Error. The following article is not available for purchase." - (response: -1005: User canceled. )

Hello everyone! I’ve a problem with test in-app on Google. When i try to do store.purchase, shows a Google error:

“Error. The following article is not available for purchase.”

and with transaction.errorString I see the error: “User canceled. (response: -1005: User canceled. )”

This error I not find on Google, but just a few tips how to check if in-app is active or not.

I can say that in-app is active. The account test have been included in “settings -> License test” and in beta version. Then, with store.loadProducts, I’ve checked that in-app is valid and i can get its description. 

So, what is the error? What can I check again? Thank you.

Are you logged into your test device with the same account your Google developer portal uses?

You cannot test with your development account.

Rob

Hi Rob, thank you for the answer.

In the device, I’ve only the test account. This account is not for access to Google Play Developer Console.

I didn’t never used account Google developer for test account. 

This seems to be the most relevant information. Look at the answers in the post. It will give you somethings to check out.

http://stackoverflow.com/questions/13117081/the-item-you-requested-is-not-available-for-purchase

Rob

Hi Rob, thank you for the link. I’m succeeded to find the solution at my problem.

My error was of not confirm the test account, that you do the first time when you download the APK from Google Play. But I tried with APK that do not come from Google Play.

Then, the solution is:

For the first time for test in-app, you have to confirm test account by downloading l’APK from Google Play. Then, after, you can test APK that do not come from Google Play.

(NOTE: obviously with APK, means it is the same application, the same version, the same APK package hosted on Google Play).

Thank you Rob for the help.

Are you logged into your test device with the same account your Google developer portal uses?

You cannot test with your development account.

Rob

Hi Rob, thank you for the answer.

In the device, I’ve only the test account. This account is not for access to Google Play Developer Console.

I didn’t never used account Google developer for test account. 

This seems to be the most relevant information. Look at the answers in the post. It will give you somethings to check out.

http://stackoverflow.com/questions/13117081/the-item-you-requested-is-not-available-for-purchase

Rob

Hi Rob, thank you for the link. I’m succeeded to find the solution at my problem.

My error was of not confirm the test account, that you do the first time when you download the APK from Google Play. But I tried with APK that do not come from Google Play.

Then, the solution is:

For the first time for test in-app, you have to confirm test account by downloading l’APK from Google Play. Then, after, you can test APK that do not come from Google Play.

(NOTE: obviously with APK, means it is the same application, the same version, the same APK package hosted on Google Play).

Thank you Rob for the help.