inApp purchasing for iphone before app has been submitted - iphone

I am trying to add in-app purchasing to my iphone app, but it is a brand new app, and not in the app store. I would like to add buttons so when the user clicks on them, they are directed to the app store to purchase that feature. How is this accomplished without app having a link on the app store?
Thanks.

In App Purchases themselves are not on the App Store. They are in your app but locked. So in the end you don't need any link to the store.

In app purchasing does not work through the App Store, but rather through your own UI. You can find the docs below on how to build your own "Store Front".
Full docs
"Store Front"

Related

Purchase app from another app using In-App Purchase

I am trying to implement In-App Purchase in iPhone SDK, but I am trying to buy an app from another app.
Is it possible to implement it? From first app, I open one feature which is locked by In-App Purchase. It has to install the feature as another app in the device. So that the owner can get the money of the app using In-App Purchase.
You cannot purchase an app from an app using In-App purchase for that go through below point:
11.1
Apps that unlock or enable additional features or functionality with
mechanisms other than the App Store will be rejected
And for more details please check. If any issue please revert me.

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.

InAppPurchase implementation

How can I test in-app purchase before release?
I have an application which is not in the app store i haven't provide the details for submission of my application in itunesconnect and I want to implement In-app purchase for the same application is it possible?
Yes it is possible. But for that you need to login to your iTunes Connect account and submit details of ur app and then create In-App Purchases from there only. You can test it before uploading it to the app store.
Please do some R&D on your own on google and then come here with the code if u have some problem.

Can I let the user buy from App store within my iOS app without going to App Store application at all?

A button has a title "Buy Now", its action talks to App store and tell them that this user wants to pay for an app without launching the App store app at all. Is this possible?
To buy what? If you want the user to buy an in-app purchase that's linked to your app, then yes (and take a look at Apple's in-app purchase programming guide for information on this).
If you mean to get the user to buy a different app from within your app, then you can use the SKStoreProductViewController (documentation here).

iphone - Is it necessary to create new app in itunes connect for in-app purchases

I'm already having a free application in app store (itunes connect)
Now I want to add in-app purchase for that.
So, I created a new product in in-app purchase and trying to test it. Its saying the product id is invalid.
But I created new app in app store with product id's and when I'm testing, its working fine.
Is it necessary to create new app to distribute my old app with in-app purchases. Can't I add in-app purchase for already existing application?
Yes, you can add in-app purchases to existing apps that previously did not support them.
Is your device jailbroken? If so, you need to revert the jailbreak for IAP to work.