IAP Submit for Review button grayed out Xcode 14 - in-app-purchase

I have successfully added my IAP along with the required metadata screenshot. On the actual IAP page it says Submit for Review but it's grayed out.
On the page main IAP page (Manage page with the secret key), it says Ready to Submit
On the Prepare for Submission Page I have a binary uploaded and it shows my IAPs
I looked at multiple SO answers but I haven't found a concrete answer. On the IAP page, why is the Submit for Review button grayed out? How can I submit my IAPs for review without actually submitting the app to go live?

The app itself must be submitted for approval before you can submit your first in-app purchase.
How can I submit my IAPs for review without actually submitting the app to go live?
Well, you're confusing two things. Just because your app has been approved doesn't mean it goes live to the store that day. You're allowed to specify a later date.
However, what you're positing is actually a great way to proceed: submit the app and get it into the store first, and then add the in-app purchase in an update later.

Related

In App purchase section not visible if status is not 'Ready to Submit'

I have an app that implements in app purchase subscriptions. It is my first time to implement it on AppStoreConnect and I submitted the binary without attaching the in app purchase products so I will submit a new build together with the in app purchase products.
Based on the documentation, the products must be in Ready to Submit status but mine is already Waiting for review. I need it to be in Ready to submit status in able to attach it to a binary before adding it for review. My problem is I can't revert the status of the products to Ready to Submit status. I spent hours looking for solutions but I am still searching for it. Can anyone help me with this problem?

Can you define an In App Purchase and submit app for review without using it?

We want to add in app purchase (auto renewable subscription) to our app. We do it on a separate branch and don't want it to be part of the app until implemented and tested thoroughly.
To support it, we need to define a IAP on app store connect.
Of course, other features are implemented simultaneously, merged to master, and we submit the app to review once a week.
We are scared that if we'll define the IAP, when submitting to review the IAP will be submitted automatically with the app, before the feature is ready on the client side.
Is it possible to exclude the IAP from review until we are ready to submit it?
If not, how would you approach this?
When you view your IAP on App Store Connect there is a checkbox, "Cleared For Sale". You can keep that unchecked to be safe that your in-app-purchases won't be visible anywhere.

When are In-App Purchases activated after app has been approved for sale

I just made my first IOS app which has an IAP option and today it has been approved by iTunes Store. After I got the email, I had to wait another 4 hours before the app actually has been added to the App Store.
After I search for it and download it on my phone I decided to test the IAP option, but it doesn't seem to work. I am using my original Apple ID email and not the one I used for testing.
My question is, if the app has been added to the store, does the IAP has to work ? Or you have to wait awhile ? Just like waiting for the app to be added to the store after it has been approved.
PS: both the app and IAP has been approved by Apple and the status of my app is Ready For Sale.
edit:
If I run my app now from Xcode I get the following output from my code:
About to fetch product
Fetching products
Got response from Apple
Black Edition Theme
Black theme
0.99
Sending the payment request to Apple
Received payment transaction from Apple
Received payment transaction from Apple
Restored
Received payment transaction from Apple
It works how it should, but it keeps asking me for my Apple ID password continually and at some point said Cannot connect to App Store even if everything was successful, and after I click Retry I get the Confirm Your In-App Purchase screen but it also says Environment: Sandbox
I'm really confused why the sandbox screen is appearing.
Apple's servers often lag behind directly after updating an app with a new IAP (the product will not be found by the API). Waiting a few hours usually resolves the problem. We've had this with every new IAP we added.
You say the IAP "doesn't seem to work" ... what do you mean by that? You are charged for it, but you don't get the new content / feature / whatever it is? Or you select Purchase in your app but nothing happens?
It's been a while since I worked with IAP, but back when I did you had to submit at least one IAP component at the time you submitted your app for review. So both were reviewed at the same time.
If that's what you did, the IAP should be available immediately - if it's not, yeah... something's wrong.

Submitting In-App Purchases AFTER binary has been uploaded

I'm making a game that has a few levels that are available as in-app purchases (non-consumables).
I'm getting closer to submission time, and I really have a deadline I need to hit, so I'm running into this issue:
Can I submit In-App purchases to iTunes Connect AFTER I have submitted the app for review? I know I can add them to iTunes Connect before, but not all of the levels are ready yet, so if they tried to download them from my server they wouldn't actually get the level and would likely get rejected.
Is there any way I can add them to iTunes Connect after submission, when each one is done so the content will be live on the server?
Essentially, the app will be done a week or two before the levels will be complete, and I don't want to wait until the levels are done to submit to the app store.
The big issue I see here is I don't want to have the game released without all the In-App purchases available.
I was thinking about making a generic "token" that a user can download and redeem it for a level, but I'd rather stay away from that in case I want to have different prices for them.
Any help would be greatly appreciated!
Thanks.
For those who stumble upon this, I figured out the answer. As long as one in app purchase is submitted with the first bundle, you can add other ones along the way, even when it's waiting for review.

iOS: How Do IAP's Work?

I was wondering how I give the user the new add-ons after they purchase them. Lets say that one of my IAP's is a new tab in a tab-based application. I'm under the impression that the process is something like this:
Submit an update to my app, adding in the IAP support.
Submit my app to iTunes Connect's "Manage IAP's", with the new tab implemented in the program.
When the user clicks "Buy Now" in the IAP screen, the app will grab the version of itself with that feature implemented off of iTunes Connect.
Sorry if this is confusing, I'm having a hard time wording what I'm trying to say. Any help would be great, thanks!
Number 3 is wrong. The user will download the version of your application that supports both IAP and the new tab feature. Your app itself will have to determine whether to show the tab or not.
That is, when the user makes the purchase, you show the tab. There won't be two separate versions of your application on iTunes.
Depending on the purchase type, you can store a local flag or receipt on the device indicating that the user has purchased something. The next time your app runs, you check the flag or receipt and then show the tab only if the user had purchased the feature.
See: In-App Purchase Programming Guide

Resources