In App Purchase Problem - iphone

please help me , i am getting product count 0 in response.product.
i have followed all the steps of in app purchase in documentation .
1.Provisioning profile and i allowed in app purchase.
2.Dummy app binary uploaded to itunes and rejected that by myself.
3.Setup 2 products in itunes in app purchase and app identifier was selected.
All the things seems fine but i am getting product count 0.
Please let me know how can i solve this issue .
Thanks

Make sure to check the "Cleared for Sale" checkbox for the in-app purchase in iTunes Connect. Note that this does not submit the in-app purchase for approval to Apple. To do that, you need to click the green "Approve" button in the upper right hand corner.
All you should need to do to test the in-App purchase is check the "Cleared for Sale" checkbox for the purchase in iTunes Connect.

Don't reject your binary. The binary has to be waiting for review (or cleared for sale) before the store will work right.
Also make sure each of your in app purchase items are cleared for sale on iTunes Connect.

You can create a new application but not upload the binary on iTunes Connect. This way your app is in the "Waiting for binary" (or something like that) state.
Then you're binary won't be rejected.
If anybody needs help implementing the In App Purchase feature, there's a complete sample here

are you sure add Product information in iTunes conect.
Enter iTunes Connect, Click Manage Your In app Purchases link, add Product information and id.
I post a summary in my msn space http://leefj.spaces.live.com/blog/cns!ADF54DD0A549AD9B!471.entry

Related

What does it mean when in-app purchases are "in review" while the app binary itself is still "waiting for review"?

I am a bit confused by this. How is Apple supposed to review in app purchase content without the app? All my IAPs are "in review" while the app itself is "waiting for review" since two days.
This is not too programming related BUT it might save other developers time to know this can happen and why. What I did:
1) Updloaded IAP content packages so I can test it.
2) Assigned IAP content packages to app, then submitted app via Xcode.
3) Found bug and rejected binary.
4) Fixed bug, resubmitted binary. But this time no way to assign the IAPs to app. They were already "waiting for review".
Did my app get stuck in a deadlock situation? Did anyone else ever experience this?
I suspect that the In App Purchases will be reviewed once your app goes into review. Your In App Purchases are already associated with the app, are they not?
However I would recommend you contact Apple through iTunes connect. I've always had good success with this in the past.
Select the 'Contact Us' link at the bottom of the iTunes connect page. In the form that appears, select App Review and Check Review Status, and then select the 'contact us' link in the text that appears.
Then describe your issue in the form, and they should tell you what you need to do.
Here is a way to fix this (its not ideal):
Delete in app purchase that is "waiting for review" in iTunes connect.
Recreate in app purchase with a different product id (you can just add a number to the end).
Refractor old references in your purchase code to the new id.
Rebuild, re-associate the product, and re-upload!

iPhone App Binary rejected in-App Purchase

I have submitted an iphone app with in-app purchase But my Binary is rejected and i have got the following message from apple
From Apple.
Missing IAPs
We are unable to complete the review of your app since one or more of your In App Purchases have not been submitted for review.
Please be sure to take action and submit your In App Purchases AND upload a new binary in iTunes Connect. Learn more about submitting In App Purchases for review in the iTunes Connect Developer Guide.
Once you've submitted your In App Purchases and uploaded a new binary, we can proceed with your review.
Please tell me how to solve this problem
You need to submit the In App Purchase which will be available in itunesconnect.apple.com->manage application-> your application
here you can find as shown in the picture
Now go to Manage in-App Purchases and click create New. Give your product Id and type of IAP after creating it shows waiting for review then submit your binary again
In your iTunes Connect account, go to your application page and click on "Manage in-app purchases", then add the in-app purchase and submit it for review.

in-app purchase show warning not available inapp in iTunes connect

iTunes shows warning for in-app purchase creating Your first In-App Purchase(s) must be submitted with a new app version. Select them from the In-App Purchases section of the Version Details page and then click Ready to Upload Binary. like below screenshot :
i am try lot of instruction fixing this issue but not work,i am create inapp scenario below instruction:
first i am create app in iTunes connect and status is Ready to upload Binary
after create manage-inapppurchase->add new->create in-app and shows status Ready to Submit
and shows the warning message Your first In-App Purchase(s) must be submitted with a new app version. Select them from the In-App Purchases section of the Version Details page and then click Ready to Upload Binary.
ok i am after upload binary and reject it and goes to inapp shows same warning message..!
i am try to lot of way but does not work can any one help me for fixing this issue in iTunes connect with greatly appreciated...!
Thanks....!
All other steps i think you have completed
Request iOS Free Applications Contracts.
Login to iTunes connect
Go to "Manage Your applications"
Click on your application icon
In that click on "View details"
On that at bottom of your page you will find "In-App Purchase"
Where you have to check mark your
Non-consumable/Consumable/Auto-Renewable Product
and then Ready To Upload Binary
To cross check that - Go to Manage In-App Purchase
where you will NOW find status "Ready to Upload"
Hope this help...
Try enter in View Details and click on link at "In-App Purchases"
You need to setup your iOS Paid Apps contract from Contracts, Tax, and Banking section of iTunes connect.

Unknown App when confirming in-app purchase

I have created a newsstand app and have everything working. The only issues I have now are:
When I click 'subscribe' and the dialogue box pops up to confirm the in app purchase it says
Confirm Subscription
Do you want subscribe to Unknown App for free?
[Environment: Sandbox]
Why does it say Unknown App? Everything else works (receipt validation, completing the transaction & co.)
Also, will the [Environment: Sandbox] go away automatically once I upload it to the app store and download it for real? Is there something in my code that I am missing that sends the in app purchase request to the sandbox? Or is it just because i am using a test device that has the app compiled onto it from XCode.
If your app is not in app store, it shows you the [Environment: Sandbox]. It will automatically go away once you uploaded app and your app is in app store.
For "Unknown App":
You need to add text in inApp purchase section in iTunes connect. If you haven't done that it will show you "Unknown App" on message which comes on iOS pop-up.When you activate in-app purchase by filling all information in inApp purchase section, pop-up will not show you "Unknown App", rather the pop-up will mention your app name.
Hope this will help you.
If your app is not in app store, it shows you the [Environment: Sandbox]. it will automatically will go away once you uploaded and your app is in app store.
If your binary has been rejected by Apple, the IAP products submitted with it should also show up as rejected. When you try and purchase a rejected IAP within the app, the confirmation screen will show the aforementioned "Do you want to buy one Unknown App...".
To correct this you should be able to make a small change to each IAP product in iTunes Connect. Then simply change it back, then the rejected flag should go away (and be replaced by waiting for review. For example, I added an 's' to the Display Name for the English language of each product. Then went right back in and removed the 's'.
This may not be acceptable to Apple if the reason for your rejection centers around your use of In-App Purchases.
I suggest to check your itunesconnect account.
Goto your Specific App "NewStandApp" .-> Manage InAppPurchases. Now check Reference Name you have Added with your ProductID.
Product_Id your are referring in project/app (sandbox environment) might be connected with app name "Unknown app"

In-app Purchase "ready to submit", but won't let me submit it

I have some in-app purchases setup for an application. The in-app purchases are all tested, and working great - however I can't submit them for review. I submitted the application binary for review, then visited the in-app purchase section. All of the in-app purchases say: "Ready to Submit", but the "Submit for Review" button is greyed out, and un-clickable.
When apple reviews the actual application, will they also just review the in-app purchases for it? Or am I doing something wrong?
Thanks.
Update: I don't know if it was by switching to Chrome, or by waiting 30 minutes or so, but it enabled me to submit my in-app-purchases for review.
I was having the same problem. It would not let me submit my In app purchases to my app, which I uploaded shortly beforehand. I had to reject the binary, then follow the directions below to add the IAP to the app version before uploading.
Go to iTunes Connect
Click on Manage your applications
Click on the App
Click "View Details" button
Scroll down until you see an "In App Purchase" Section
Add your In App Purchase to that version.
Then ready your app for upload.
Once these steps are complete, the In App Purchase should automatically change from "Ready to Submit" to "Waiting for Review".
There are several things that needs to be checked first before submitting an app with in-app purchase :
Enable in-app feature in your "Identifiers -> App IDs". This is
usually automatically enabled by Apple by default
Ensure the correct link from your "Provisioning Profile" to the "App IDs"
above, which has in-app feature
Build your file with the correct "Provisioning Profile".
Before you update the binary, you must set up the in-app in iTunes. Goto the :
"Manage In-app Purchases", and add/setup your pricing, description, etc in there. If you don't see this, then you will need to create a new version of your app first.
Once done, it will change to "Submit Binary File"
Now, update the new version description and select the correct in-app that you just created.
Upload the binary file to Apple using Xcode, and status should change to "Waiting for Review".
I had the same problem. For me the solution was simple. I was using Firefox and couldn't see the checkboxes to submit the purchases. Simply switch from Firefox to Chrome and you'll see the boxes again to check off and submit.
Another variation, the state of the app within itunes connect was wrong. I had to upload the binary then go to the binary details panel and reject this binary before I was able to see the check marks in the inapp purchase section of the app summary.
Use the "View Details" button and go to the bottom of the page, in the "In-App Purchases" section use the link "Manage In-App Purchase", do "Select All" and submit any no. of products for review along with the binary. Additional in-app products can be added from the Application summary "Manage In-App Purchase" button using the table provided.
It's been more than a decade since this question was opened. It is ridiculous that Appls IAP submission is still confusing. Ryan's answer saved my ass, I just would like to make minor updates to keep it up to date, and hope it will save others' time.
If you missed to submit an IAP, and the App is already in the wild, prepare for a new submission. If you cannnot submit an IAP, and your App was already submitted/approved, just reject it. After you get a new binary uploaded, do the following:
Go to App Store Connect
Click on My Apps
Click on the App
Click "In-App Purchases" under the "Features" section on the left side, make sure your IAPs are ready for review
Click "Prepare for Submission" under the top-left "iOS App" section
Scroll down until you see an "In App Purchase" section
Add your IAPs to that version
Add your binary to that version
You are ready to go