How do I make an App Store in-app purchase notify my server? - server

I expected to simply find a place that says "hit this URL with this data when an in-app purchase is successful," but I don't see anything like that at all in iTunes connect.
Does such a thing exist?

Yes, it does now. Go to your app on iTunes Connect and under the "App Information" tab scroll down to "General Information" section and you will see a text field like this:
More info about it here:
Subscription Status Apple

Related

In App Purchase link not find on iTunes connect on my application

i am read this post In-app Purchase "ready to submit", but won't let me submit it i will see one answer below :
#Ran :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".
in this i am following steps but i am stuck on step: Scroll down until you see an "In App Purchase" Section
i am not find my application link can't find InAppPurchase link
i am see find links below screen shot:
how to find InAppPurchase link on my app on iTunes connect..!
Please Help with me greatly appreciated..!
THANKS!
You can see the InAppPurchase Link in Manage Application -> open your application there you will find some links like pricing and some as shown in figure.
This will work if and only if you enable InAppPurchase in your application bundle id in developer.apple.com
if you press View details
like this button this will take to description page there you will not find InAppPurchase
you can find only these option so check in before page ie. Manage Application - > go to your application

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

In App Purchase Problem

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

iPhone StoreKit development: Can't create a test user?

I'm trying to get up to speed on how to develop an in-app store using the new 3.0 SDK... but I'm a bit stuck in that I don't seem to be able to create a test account. The iTunes Connect FAQ states "To create test users for your sandbox environment, go to the Manage Users section of iTunes Connect and select In App Purchase Test User. Your test users will not have iTunes Connect access. They will just have access to the sandbox environment."
...but when I go to that Manage Users section, there's no mention of any sort of "In App Purschase Test User" or how to make one. Did I miss doing something to enable that?
There is another section of that same FAQ that seems to suggest I need to have a paid app in the store first? Is that the reason I can't even use the test environment?
Having the same issue and here's what i did to get it working:
login to http://developer.apple.com/iphone
CLick "My Profile", next to "Hi, your name"
Leave first page, click continue
Where its says "Please select the primary category for your application(s)", make sure you tick second option "Commercial Applications"
hit continue
then go to itunes connect
click "Contracts, Tax, & Banking Information"
you will find a new "Paid Application" contract
tick the box next to it and add it
follow the prompts, no need to submit any Tax info for your testing
now go to itunes connect - Manage Users
and there you have it, both options "Itunes Connect User" and "In App Purchase User" are now available.
Have you signed up for the 3.0 beta access? If not, that may be why you can't see the information. For me, when I log into iTunes Connect and click on Manage Users, it asks for me to select a user type. I have to choose either "In App Purchase Test User" and "iTunes Connect User"