Silly question about IAP testing

Hi,

I have a question about IAPs that may seem trivial or obvious to some…

How exactly do I test/debug code for IAP?

I tried installing “InAppPurchase”, from Corona’s official sample code, onto my device for testing but all it gave me was an error saying “In App Purchase not supported on this device”.

So how am I supposed to test my code?

It is crucial that my code for IAPs work correctly, for otherwise I will not properly receive the revenue the app generates…

KC

There are guides here on this:

https://docs.coronalabs.com/guide/monetization/IAP/index.html

Personally, I use IAP badger and test using its built-in offline testing features.  I then trust it to work.  (I know this isn’t the safest way to treat this topic, but in my experience IAP badger is solid).

My ugly secret: I find testing IAP with devices and test accounts to be a huge PITA so I don’t do it for my own apps.  Again, this is why I love IAP badger. 

Note: I do typically make a test purchase post release to verify everything live.

There are guides here on this:

https://docs.coronalabs.com/guide/monetization/IAP/index.html

Personally, I use IAP badger and test using its built-in offline testing features.  I then trust it to work.  (I know this isn’t the safest way to treat this topic, but in my experience IAP badger is solid).

My ugly secret: I find testing IAP with devices and test accounts to be a huge PITA so I don’t do it for my own apps.  Again, this is why I love IAP badger. 

Note: I do typically make a test purchase post release to verify everything live.