Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS first inapp-purchase must submit binary for sandbox testing

i am working inapp-purchase project and first time for creating inapp-purchase in new app iTunes shows the message in inapp-purchase manage link to shows the message is below

The first In-App Purchase for an app must be submitted for review at the same time that you submit an app version. You must do this on the Version Details page. Once your binary has been uploaded and your first In-App Purchase has been submitted for review, additional In-App Purchases can be submitted using the table below.

like below screen shot:

enter image description here

i want to test sandbox environment with test user on device, store kit returns no products available!

click to view inapp details shows the warning message below screen shot :

enter image description here

i want to test sandbox (inapppurchase) to device how to do it?

my app not upload binary details and i want to test it!

please......., help with me important...!

Thanks...!

like image 588
Dinesh Avatar asked Jun 15 '12 12:06

Dinesh


2 Answers

Absolutely NO for uploading a binary!!!

It's an urban legend but it's rather dangerous regarding official Apple docs: http://developer.apple.com/library/ios/#technotes/tn2259/_index.html

Important: DO NOT upload the development binary to iTunes Connect until the application is ready for App Review approval. If the binary is present in iTunes Connect and it is not fully functional, App Review will review the binary and likely reject the development binary. Testing In-App Purchase will fail if you or App Review reject your most recent binary in iTunes Connect. The workaround in this case is to upload a binary without In-App Purchase features that can get approved by App Review. Once the binary is approved, resume testing the binary with In-App Purchase features.

THE SOLUTION for your issue: Your problem is that you moved the process one step further than Apple advised and uploaded the picture for the in-app-purchase, so it's in

"Ready to Submit"

state (see your illustration) which is not correct (DO NOT ask why or search for any rational, I killed some hours with it) Your in-app has to be in

"Waiting for Screenshot"

So you have to make a new one with different name - even if you delete the earlier - and leave it in "Waiting for Screenshot" state and it will work immediately. One more empirical data: NEVER use Upper case letter for the product ID even there is no any error message or indication that you shouldn't. This doc tells everything you need to know, but based on my several years practice the process is a "technical voodoo", and nobody could tell how and why it's working or not. Keep trying and somehow it works finally...

UPDATE 2015 Apple fixed the process, now it's working even in "Ready to Submit" phase so you don't need to restart the process if accidentally the picture (named: Screenshot for Review) is uploaded, BUT all the other statements are valid.

like image 161
BootMaker Avatar answered Sep 22 '22 23:09

BootMaker


You need to simply upload a binary and then just reject it yourself, that should be enough.

update 2017 I just saw a downvote on this 5 year old answer. Things have changed a lot since then, especially in the area of (testing) IAP and beta versions. I have not recently been able to verify if this upload&reject step still makes sense.

like image 29
mvds Avatar answered Sep 21 '22 23:09

mvds