Reputation:
I'm going crazy testing my app for inApp purchase. I cannot get any valid product.
I'll try to make some questions here, hope someone could answer.
Do I have to upload the binary of my test app on iTunes connect? My app has never been published in app store, it's a brand new app just in test.
If I have to upload binary, I upload a Distribution signed binary. NOW, do I have to use the same binary (Distribution signed) on my tests? Or I can use a developer binary?
I've checked many and many times all critical and known problems like boundle ID, taxes info, Clear for sale checkbox and all these things. They are all ok.
After adding an iAP product, it is marked "Waiting for Review", is this correct or I should wait it change state before I can see it as valid?
Upvotes: 19
Views: 14482
Reputation: 3098
I was trying test before release my application... that was happened to me...
-My in app purchase product was ready to to submit. But I could not get fetch request. could not tested.
-When,firstly i archive my app, I could start testing...
So archiving up required to test in app purchase
Upvotes: 0
Reputation: 1818
Ensure that the project Bundle ID is the same as the registered for the application in itunesconnect.
Upvotes: 0
Reputation: 123
Those of you having trouble with In-App Purchase (IAP) make sure a few things are done correct,
Once all these are done you should be able to make In-App purchases using those test accounts. It worked after a few hair pull-offs for me.
Upvotes: 0
Reputation: 677
Don't bother with all of the voodoo suggestions surrounding in-app purchases, the official Apple Technical Note TN2259 describes all the steps in detail... and it works.
Upvotes: 4
Reputation: 535
i had the same problem. for me helped 2 things in combination:
But in FAQ 6 are some more reasons for this problem listed:
You did not complete all the financial requirements (see the "Contracts, Tax, and Banking Information" section of this document).
You did not use an explicit App ID.
You did not use the Provisioning Profile associated with your explicit App ID.
hope this will help some more of you.
Upvotes: 4
Reputation: 4728
I spent waay too much time on this exact problem too.. you do not need to upload a binary to get the in app purchase testing, what that means in iTunes connect there is that you cant add additional products to an existing product on the iTunes shelves. For example if your app is live and at version 1.0, and v1.0 was submitted with only one in app purchase connected with it, there can never be a 2nd in app product for v1.0, to add a 2nd (or many more) in app products you need to resubmit, go up to 1.01 or whatever. The key thing that I was overlooking, and I hope this helps, is YOU MUST BE USING A PROVISIONING PROFILE FOR THAT IS MADE FOR THE APP IN QUESTION, not the generic profile that xCode's little helper wizard thing just builds stuff on by default. Try that
Upvotes: 1
Reputation: 3752
There is no need what-so-ever to submit the application binary before testing in-app-purchase in SANDBOX environment.
The In-App-Purchase product'll 've state READY TO SUBMIT.
Upvotes: 5
Reputation: 1348
You do not have to upload a binary. You can set up your app in iTunes Connect, and then set up your products associated with it. The "Waiting For Review" on your products will stay waiting for review until you submit a binary and submit the app and it gets approved. You can still test, however, even with your products "Waiting For Review". There is (IIRC) a transitional state which you as developer must mark your products as approved after you have tested them.
Note: Once you create the app in iTunes Connect, you have 90 days to submit a binary before they take your app name away from you.
Note 2: When testing with your debug build before submission, you have to use the development sandbox servers. See the IAP documentation for more info.
Upvotes: 2
Reputation: 10182
Setting up In-App purchases for the first time is a huge headache. I believe that you do need to submit a binary in iTunes Connect. Just submit it and then "developer reject" it right away. If it doesn't work then, wait a few hours or a day and then see if it works. Also, make sure that you check off "Cleared for Sale" for your In-App purchase in iTunes Connect.
EDIT: You should submit a distribution binary but may continue to test with your development binary.
Upvotes: -1