Steps for testing Google IAP V3

I’m having trouble testing in app for Google IAP V3, and wanted to see if I’m doing all steps correctly since they have made modifications to their testing recently. I have also done a search, and can’t find all steps listed out.

  1. I’ve put ALL product ID’s into the in app area in the dev console, and they are listed as “Active”

  2. I’ve uploaded an apk to “Beta” production

  3. Under “Settings” in the developer console, I have several test accounts listed out with gmail addresses

** Under “licensed test response” I left that under default as “Respond_Normally” - does this need to be listed as something else?

  1. I’ve installed the apk on the device, and the products are not even being loaded.

Are there any other steps that I have missed? As far as I know, everything in the code, and build.settings is correct, but testing in app has become cumbersome on google play!

Any help appreciated! Just wondering if I’m missing any other obvious steps!

Also, I’ve allowed 24 hours for everything to propagate in the developer console such as the apk being uploaded and the product ID’s for in app being listed, and double checked those ID’s to make sure they match up with the ones in the code.

Thank you!

Hi JBean, I’ve tested Google IAP using Alpha version of my game, and I don’t think it’s all that different with Beta version.

So, here’s what I did:

  1.  Published the Alpha version of the APK.

  2.  Under the APK section, clicked on “Manage list of testers” for Alpha testers, and added a Google Group with an Alpha tester in it.

  3.  Shared the URL that appears  under “Share the following link with your testers.”

  4.  Installed the APK to the device, which is registered/owned by the Alpha tester.

  5.  Using the same device, launched a browser (I use Chrome) and went to the URL (share URL)

  6.  The rest should be pretty straight forward.

Naomi

@Naomi

Thanks for the tips!!

The other issue I am having is getting the products to even load - do you have any specific tips on that? I double checked the product ID’s against the ones in the developer console vs code, and they all match up. But they won’t load at all.

Anything helpful hints that I may be missing with loading products? Thank you!

One other thing:

I set up the google groups under the “Manage list of testers” and did that successfully.

My question is, how do I “Share the link with my testers” - I don’t see that link at all? And it says I have to publish my apk to production in order for the link to show - so do I need to move my “Beta” apk over to “Production” for them to be able to test it? 

Basically I am not seeing the opt-in link, and not sure how to proceed from here.

@JBean, I don’t load products when I do Google Play IAP.

You might find this thread helpful:

http://forums.coronalabs.com/topic/34158-if-google-play-doesnt-use-storeloadproducts-how-do-you-get-the-item-prices/

Also, I think documentation is updated (or will be updated) regarding this (as per near the end of the thread noted above.)

As for the “Share the link with my testers”, I see it by going to GP Dev Console, selecting my game, selecting APK, clicking on “Manage list of testers”.  It’s in the popup window where you enter the tester group.  If you don’t see it, unless it works differently between Beta version and Alpha version, maybe adding the tester group wasn’t successful?

Naomi

@Naomi - I don’t see that under the pop-up window at all, just the name of my google group, with “share the link” - I’m going to upload an APK to alpha and see if that works, but I can’t imagine it being different.

And I was successfully able to add the google group without any issues, it’s listed under the Manage list of testers area…

Thanks by the way for being so helpful and responsive!

@Naomi - also, we are using V3 of google in app - and that does use load products, does it not?

Thank you :slight_smile:

Ok. I found the issue.

http://stackoverflow.com/questions/18400059/beta-version-in-android-play-store-wheres-the-opt-in-link-for-testers

Turns out I was missing a very crucial step in getting the link. Once you upload the apk to alpha or beta, you have to hit “publish” in the top right hand corner (not publish to production)

That then enabled the link to appear. I’m on my way to test now.

:smiley:

FINALLY resolved!

The issue was that I was missing the step to publish the Beta APK to production in order to get a test link for the test users.

The other issue was once I hit publish, it takes an hour or two to propagate through the system before being able to test, so it finally worked, and GP V3 consumables are working.

Thanks for your help, listing out those steps got me further than anything else!

Glad to hear you got it working.

Cheers,

Naomi

Hi JBean, I’ve tested Google IAP using Alpha version of my game, and I don’t think it’s all that different with Beta version.

So, here’s what I did:

  1.  Published the Alpha version of the APK.

  2.  Under the APK section, clicked on “Manage list of testers” for Alpha testers, and added a Google Group with an Alpha tester in it.

  3.  Shared the URL that appears  under “Share the following link with your testers.”

  4.  Installed the APK to the device, which is registered/owned by the Alpha tester.

  5.  Using the same device, launched a browser (I use Chrome) and went to the URL (share URL)

  6.  The rest should be pretty straight forward.

Naomi

@Naomi

Thanks for the tips!!

The other issue I am having is getting the products to even load - do you have any specific tips on that? I double checked the product ID’s against the ones in the developer console vs code, and they all match up. But they won’t load at all.

Anything helpful hints that I may be missing with loading products? Thank you!

One other thing:

I set up the google groups under the “Manage list of testers” and did that successfully.

My question is, how do I “Share the link with my testers” - I don’t see that link at all? And it says I have to publish my apk to production in order for the link to show - so do I need to move my “Beta” apk over to “Production” for them to be able to test it? 

Basically I am not seeing the opt-in link, and not sure how to proceed from here.

@JBean, I don’t load products when I do Google Play IAP.

You might find this thread helpful:

http://forums.coronalabs.com/topic/34158-if-google-play-doesnt-use-storeloadproducts-how-do-you-get-the-item-prices/

Also, I think documentation is updated (or will be updated) regarding this (as per near the end of the thread noted above.)

As for the “Share the link with my testers”, I see it by going to GP Dev Console, selecting my game, selecting APK, clicking on “Manage list of testers”.  It’s in the popup window where you enter the tester group.  If you don’t see it, unless it works differently between Beta version and Alpha version, maybe adding the tester group wasn’t successful?

Naomi

@Naomi - I don’t see that under the pop-up window at all, just the name of my google group, with “share the link” - I’m going to upload an APK to alpha and see if that works, but I can’t imagine it being different.

And I was successfully able to add the google group without any issues, it’s listed under the Manage list of testers area…

Thanks by the way for being so helpful and responsive!

@Naomi - also, we are using V3 of google in app - and that does use load products, does it not?

Thank you :slight_smile:

Ok. I found the issue.

http://stackoverflow.com/questions/18400059/beta-version-in-android-play-store-wheres-the-opt-in-link-for-testers

Turns out I was missing a very crucial step in getting the link. Once you upload the apk to alpha or beta, you have to hit “publish” in the top right hand corner (not publish to production)

That then enabled the link to appear. I’m on my way to test now.

:smiley:

FINALLY resolved!

The issue was that I was missing the step to publish the Beta APK to production in order to get a test link for the test users.

The other issue was once I hit publish, it takes an hour or two to propagate through the system before being able to test, so it finally worked, and GP V3 consumables are working.

Thanks for your help, listing out those steps got me further than anything else!

Glad to hear you got it working.

Cheers,

Naomi