Storekit / In App Purchases: Does the "Environment: Sandbox" tag disappear when I submit my app to the app store? - iphone

This is my first time implementing In App Purchases. During development and testing of my In App Purchases, I see the following alerts during the purchase process:
My In App Purchases work perfectly and the app is close to submission.
Do I have to do something before I submit the app (to make the "Environment: Sandbox" tag go away) or is all of that handled automatically as I submit?

You don't have to do nothing. This is just indication that you are using sandbox when your app will be submitted for production, reviewed and approved, this notification will not be shown to the users.

Related

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.

Submitting iPhone app to the App Store with in-app purchase

I have an iPhone app ready to submit to App Store.
The app contains an in-app purchase to unlock some features. What extra things to be taken care of when we submitting app with in-App purchase?
remember to upload an in app purchase image in the inapp section else you will be rejected.
You may like to refer to this link:
In-app Purchase "ready to submit", but won't let me submit it
You may like to refer to Ran's answer there which is as stated below:
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".
Apart from this, we need to follow all the same steps as we do in case of normal iPhone app.

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"

App Rejected by App Store

This is second consecutive time that apple has rejected my application citing the following reason.
The below is the reason cited by apple for rejecting my application.
When i'm testing In-App-Purchase i'm able to purchase all the products by using my test user account. The current status of my In-app-purchase's is READY TO SUBMIT.
Can someone suggest me what i'm missing out on.
You have to put your all In-app purchase in review as well same as you did for your application. You said your In-app purchase status is Ready To Submit. So you just need to click on that button in your In-app purchase Item. Your In- app purchase items also goes for review to Apple and It will approved along with your In-app purchase.
They have rejected because still your In-app purchase items are in Ready To Submit. You can submit it by uploading screenshot to your In-app purchase items.
Hope this help.
Because you didn't attach under the prepare for submission tab.
Here is checklist
Check whether you had submitted screenshot when creating a new in-app product
Refresh the page and check whether all in-app is in ready to submit state
When submitting an app, make sure you had attached it in preparation for the submission tab, just like you adding the final build.

iPhone app activated before associated in-app-purchase activated?

I recently submitted my iPhone app for review. I also approved the in-app-purchase for my app (and provided the in-app-purchase screenshot). It's a few days later and the app status has been updated from "waiting for review" to "in review"... while the in-app-purchase status is still "waiting for review". Could the app go live in the store before the in-app-purchase? If so what happens when the user tries to make the in-app-purchase? Anything the developer can do to remedy this?
Set the app availability date to a time in the future, then when the in-app purchase is accepted, set both dates to the present.
You should also uncheck the "Cleared for Sale" checkbox in the In-App Purchase page in iTunes Connect. This means the IAP won't go on sale (even after being approved) until you decide it should.
You should have a check in your app to see if an IAP is actually available, and only display it if it was found in the App Store.
The same thing happened to us on one of our submissions. The Apple reviewers wanted to see our in-app-purchase experience before they approved the app. So in the course of the review they made sure the in-app-purchase was up to par, and approved them both at the same time.
I'm not sure if this is the standard among app reviews, so I'd play it safe and go with #nevan's suggestion as well, because if the app goes through without the in-app purchase items enabled, the purchases will fail.