Testing Inapp Purchases On Ios Simulator

Hi All,

I am trying to test inApp purchases on ios simulator. But whenever I click on some item to purchase I always get the message “Please check your internet connection and try again”. But internet is working fine on ios simulator when I browse through safari. I am stuck with this problem. Please help…!

  • R.H Mueed

@rhmueed, In-App Purchase cannot be tested on simulator.  You need to generate a device build and test it on device.  There’s no other way around it (as far as I know, that is.)

Also, do you have a native alert with the very same message coded somewhere in your app?  You might want to search for it, and if you find it, check how that alert is triggered.  (I’ve never seen this alert before, so I’m thinking it must be a message you’ve added.  But then, it could be built in with Corona SDK.  Who knows.  When I first started working on IAP a while back, I read that you can only test it on device, so I never tried it on simulator, and that could also be the reason why I’ve never seen it.)

Naomi

@rhmueed, In-App Purchase cannot be tested on simulator.  You need to generate a device build and test it on device.  There’s no other way around it (as far as I know, that is.)

Also, do you have a native alert with the very same message coded somewhere in your app?  You might want to search for it, and if you find it, check how that alert is triggered.  (I’ve never seen this alert before, so I’m thinking it must be a message you’ve added.  But then, it could be built in with Corona SDK.  Who knows.  When I first started working on IAP a while back, I read that you can only test it on device, so I never tried it on simulator, and that could also be the reason why I’ve never seen it.)

Naomi