No products showing

Hi All,

This is my first time implementing the IAP feature into my app but so far I have spent 2 weeks struggling and hope someone would be able to help. I have read a lot from this forum but still cannot find the answer.

I have created 3 IAP items in iTune Connect. I downloaded and ran the sample Corona IAP scripts (the one with the lemon) and replaced the product ID in the scripts with my own IAP IDs. I uploaded all my screenshots and descriptions to iTune connect and then uploaded and rejected my binary. I have set up a sandbox account and a Ad Hoc certificate to go with the sample script.

With all these done, so far when I run the script in my test device, it only pops up the login box, and nothing happens after I log in. There is no products being showed on screen.

My IAP items were reviewed by Apple and they rejected my IAP items. I contacted them and asked why and they said they need to see a new binary that actually allows them to test the IAP items. However, without being able to see the IAP items myself on my test device, how can I be able to do that?

Would someone please help me? [import]uid: 26410 topic_id: 23019 reply_id: 323019[/import]

@schwab, with my IAP items, the status is “Ready to Submit”, but I can test (i.e., buy the IAP items) in Sandbox environment. Did you create test users in the sandbox? Also, make sure you are signed out of your Apple ID that you’ve used to set up the test device before you log in as the test user (my test user is a fake user with a fake email address). You should sign in as a test user only when IAP sign in dialog pops up.

Also, every so often, my device gets “corrupted” for testing IAP – I don’t know how or why or what it means, really, but it does. When it happens, after I sign in as a test user to purchase items from sandbox, nothing happens (which sounds very much like what you are experiencing). At this point, only thing I can do to get the device to work in the IAP sandbox environment is to do the complete reset of the device – meaning, “General” > “Reset” > “Erase All Content and Settings”. I hated the idea, but now I do it often enough. To me, it’s become a routine process as far as testing IAP. Someone mentioned he fixed the similar issue without erasing all content, but since this works for me, I’m sticking with this solution.

By the way, jail broken device can’t be used to test IAP.

I hope this helps, and good luck.

Naomi [import]uid: 67217 topic_id: 23019 reply_id: 92006[/import]

Thanks a lot for your suggestions Naomi!

I will hope that I do not have to erase all my content and settings first. My device is not jailbroken. I have also created a test user in sandbox and log in only when the dialog pops up. The problem is that I cannot even see the 3 items in the InAppDemo so there is no way I can “tap and purchase”. Will restarting the device works the same way as resetting?

And I’m just wondering, the demo does not ask me to log in when I launch. Am I suppose to see the IAP items in the Demo before I log in? [import]uid: 26410 topic_id: 23019 reply_id: 92008[/import]

Hmmm… I didn’t create demo build so I don’t have answers to your question regarding InAppDemo. As for restarting device, it isn’t the same as resetting.

So, you don’t see three items on screen to purchase – does this mean you are not displaying buttons or objects that need to be tapped for the IAP to launch? On the other hand, if IAP does launch and asks you to sign in to purchase item, I’m not sure how you are launching the IAP.

You might want to add a bunch of print statements to see how far your code executes and see where it hangs – it might help find issues with the code you are using.

Edit: By the way, I initialize store in main.lua, but I don’t unpackValidProducts until a button is tapped by a user to purchase a product.

Naomi
[import]uid: 67217 topic_id: 23019 reply_id: 92016[/import]

I’m running the InAppDemo without modifying any other parts of the code besides my own product IDs just to test to see how it works. But I am only able to see the Buy buttons in simulator. But when I build it with my Ad Hoc certificate and run it on the test device. I cannot see the Buy buttons at all. It seems like it runs fine in simulator but no in the test device. On the device, I can only see the button “test restore” which when I tap on it, a log in dialog pops up, and I enter my login information for my test account and nothing happens.

I notice from the Demo that the buttons are only created in simulator mode. Do I need to create another sets of button in the demo for buy the IAP items in device mode? [import]uid: 26410 topic_id: 23019 reply_id: 92020[/import]

Ah, okay, it sounds like something that our super helpful Asnca staff, like Peach or Danny, would need to help you with… BTW, what Daily Build are you using? There might be different versions of InAppDemo around…

Good luck.

Naomi [import]uid: 67217 topic_id: 23019 reply_id: 92023[/import]

Thanks Naomi, I’m using build 750. I hope I can at least run the InAppDemo on my test device soon. [import]uid: 26410 topic_id: 23019 reply_id: 92025[/import]

WONDERFUL Post.thanks for share…extra wait … Â?
Big ass pics sanka Big ass milfs Bridleway Trannies heterocycle [import]uid: 135934 topic_id: 23019 reply_id: 96180[/import]