Need help on sandbox testing

I was hoping not to have to do this and it might be beyond the corona forum but i cant get iap purchase to work at all on an actual device.

Please someone take pitty on me and help lol

First iap works on the simulator i get the sand box response and the buy button goes away. So my test steps for real devices were as follows.

  1. Completely logged out of my device.

  2. Setup user in itunes connect user(brand new email address)

  3. built and deployed app from corona to device.

  4. opened up and tried to buy iap.

  5. Device asks me to login so i do.

  6. Then it tells me to setup password in settings of the device so i do that.

  7. Go back to app and it finishes the attempt, but no sand box response and buy button is still there.

Then i click the buy button all i want , appears to attempt then comes back with nothing.

I know these users can be made invalid pretty easy but i just dont see what i did wrong.

Or if I have some kind of corona setting wrong from the start.

me too, dogg. Does something special have to be done to set up testing on an actual device?

In-App Purchases are probably the hardest things to test. 

Are you using an AdHoc profile?

Do you have all of your IAP setup in iTunes Connect and have them submitted?

Are there any errors in your device’s console log?

Rob

Thanks for the reply, Rob –

We ended up getting this to work by using an Ad Hoc profile as you described. So counterintuitive that you would need to use a distribution profile when testing a feature in development! 

Thanks again - 

Honestly it should be the other way. AdHoc shouldn’t work, Development should.

me too, dogg. Does something special have to be done to set up testing on an actual device?

In-App Purchases are probably the hardest things to test. 

Are you using an AdHoc profile?

Do you have all of your IAP setup in iTunes Connect and have them submitted?

Are there any errors in your device’s console log?

Rob

Thanks for the reply, Rob –

We ended up getting this to work by using an Ad Hoc profile as you described. So counterintuitive that you would need to use a distribution profile when testing a feature in development! 

Thanks again - 

Honestly it should be the other way. AdHoc shouldn’t work, Development should.