Tutorials for Setting Up and Testing In App Purchases

Hello,

I have been searching for a proper tutorial on adding in app purchases to my app.  I have done this once before with the fabulous help of a Corona expert.  And am following that method again but have forgotten all of the steps that I needed to do to test on both iOS and android.  Is there a tutorial on this?  I also see that there is a Badger plugin.  Should I scrap the IAP code that I already have and use this plugin instead?  

Thanks!

Christi 

The IAP Badger plugin is pretty popular.  I’ve never used it. I tend to copy code from one app to another and adjusting it as needed. You’re still going to have to do all the setup in iTunes Connect or Google Play’s developer console regardless.

Rob

Thanks as always for the quick response Rob.  I think for me it is more of an issue of being able to test it on my devices.  If I remember correctly from my last app with IAP that was quite cumbersome and I was wondering if there was a tutorial on that process.  I believe it required me to set up test apple id accounts and log out of my regular apple account.  I was wondering if the Badger plugin makes this process easier.  

Christi 

The testing process is cumbersome.

For Apple:

You have to have designated test accounts with their own Apple ID’s. Each account can only make a non-consumable purchase once. I believe Apple has test products that you can buy over and over, but that doesn’t necessarily help you verify you’re setup is good. Also there are ever changing requirements on what has to be submitted and when.

For Google, you cannot use your developer account to do purchases, even in testing, so you will also need another Google Mail account to test your IAP. Google for certain has a series of test products you can use while testing your code. But unlike Apple, you can refund your non-consumable purchases and try the again (albeit that’s a pain to do). Google just needs an Alpha or Beta build published to Google Play, no odd submissions of your products or any thing.

I’ll see what I can do about getting the IAP guide up soon.

Rob

Hi Christi,

IAP Badger will allow you to test your IAP code without having to connect to Google Play / the App Store / Amazon , so you can get your code up and running quickly.

Once everything is up and running in test mode on your app, you will still have to configure everything with the app stores and make sure everything is up and running correctly.  At the IAP Badger end, this should just be a case of ensuring the product names are entered correctly for each store.

Simon

The IAP Badger plugin is pretty popular.  I’ve never used it. I tend to copy code from one app to another and adjusting it as needed. You’re still going to have to do all the setup in iTunes Connect or Google Play’s developer console regardless.

Rob

Thanks as always for the quick response Rob.  I think for me it is more of an issue of being able to test it on my devices.  If I remember correctly from my last app with IAP that was quite cumbersome and I was wondering if there was a tutorial on that process.  I believe it required me to set up test apple id accounts and log out of my regular apple account.  I was wondering if the Badger plugin makes this process easier.  

Christi 

The testing process is cumbersome.

For Apple:

You have to have designated test accounts with their own Apple ID’s. Each account can only make a non-consumable purchase once. I believe Apple has test products that you can buy over and over, but that doesn’t necessarily help you verify you’re setup is good. Also there are ever changing requirements on what has to be submitted and when.

For Google, you cannot use your developer account to do purchases, even in testing, so you will also need another Google Mail account to test your IAP. Google for certain has a series of test products you can use while testing your code. But unlike Apple, you can refund your non-consumable purchases and try the again (albeit that’s a pain to do). Google just needs an Alpha or Beta build published to Google Play, no odd submissions of your products or any thing.

I’ll see what I can do about getting the IAP guide up soon.

Rob

Hi Christi,

IAP Badger will allow you to test your IAP code without having to connect to Google Play / the App Store / Amazon , so you can get your code up and running quickly.

Once everything is up and running in test mode on your app, you will still have to configure everything with the app stores and make sure everything is up and running correctly.  At the IAP Badger end, this should just be a case of ensuring the product names are entered correctly for each store.

Simon