This applies to Google Billing V4.
I was following the tutorial to add in app billing to my app and I found that it would not work in test.
This guide is fine, but only covers the coding requirements of
I did finally get it working, after a number of days, here is what I had to do.
There are a number of things that you have to do in the Google Console before the billing will work correctly.
Before I had followed these steps especially step 10, I was getting "The item you requested is not available for purchase".
I also found that I had to have my email address exactly right, for example, I have an @googlemail.com email address, but I normally can login with @gmail.com with no problem. But to get testing to work, I had to add the @googlemail.com email address to the lists.
But this may also be that I didn't wait long enough... see point 10.
Large parts taken from this stackoverflow question - https://stackoverflow.com/questions...he-item-you-requested-is-not-available-for-pu
Hope this helps.
I was following the tutorial to add in app billing to my app and I found that it would not work in test.
GooglePlayBilling - In App Purchases
The previous service which was used by InAppBilling3 library is being deprecated and will soon won't be available. GooglePlayBilling is based on the new in app purchases service: https://developer.android.com/google/play/billing/billing_library_overview Usage instructions: 1. Add to the...
www.b4x.com
This guide is fine, but only covers the coding requirements of
I did finally get it working, after a number of days, here is what I had to do.
There are a number of things that you have to do in the Google Console before the billing will work correctly.
- At the top level (All apps) go to License Testing and add email addresses as your testers. These CANNOT be the same as your developer email address.
- Create your App or select it if already created.
- Follow the instructions in the dashboard to "Setup your app". I found that I needed to complete all sections apart from the Store Listing.
- Under Monetize->in app products, create your products. Make sure that you Activate them.
- Create an Internal Test or Closed testing release.
- Upload (AAB) and release your app to your testing track.
- Create a testers list for the release. This should be the same as the emails in the License Testers at the top level.
- Get the link from the bottom of this page "How testers join your test". Email to testers.
- The testers must follow the link on the phone and accept the test from link.
- Wait and then wait some more... It took over 12 hours before all of this was propagated on the Google servers and the app purchases would work.
Before I had followed these steps especially step 10, I was getting "The item you requested is not available for purchase".
I also found that I had to have my email address exactly right, for example, I have an @googlemail.com email address, but I normally can login with @gmail.com with no problem. But to get testing to work, I had to add the @googlemail.com email address to the lists.
But this may also be that I didn't wait long enough... see point 10.
Large parts taken from this stackoverflow question - https://stackoverflow.com/questions...he-item-you-requested-is-not-available-for-pu
Hope this helps.