I have been banging on this for some time now. I finally took someone’s advice and am trying to get the sample code to work, but still to no avail. The code runs up to the point where store.purchase is called - I know that from print statements. I have to confirm that I want to buy the product and then it hangs and repeatedly asks me to input my Apple ID password alternating between an alert box message of Environment: sandbox cancel/continue. I finally get tired of this and cancel. When I start the app again, I can see that the transaction has failed with the error Cannot connect to iTunes store.
I think I have read every thread in the forum… the things I have checked already:
- bank and tax info looks complete
- developer vs distribution ad hoc provisioning profiles work the same
- wiped my device - iPod
- tried on a different device (another iPod)
- have tried 3 different test users
- my product id looks like com.companyname.appname.productid and the code matches exactly what i put into ITC
- tried it in every app status - prepare for upload, waiting for upload, waiting for review, developer rejected
- IAP product status in Ready to Submit
I followed Troy Bryants walkthrough (several times actually). The only part I do not get is #3 where he talks about editing the project’s .plist in Xcode. Does not seem to me like it applies to corona developers - does it?
My code is exactly the sample code with only the apple product list changed to match what I put in ITC.
Any help out there is hugely appreciated.
daf [import]uid: 58825 topic_id: 32117 reply_id: 332117[/import]