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

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.

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.

Restore functionality for paid application in iPhone

I am going to upload an iphone app with in-app purchase. Previously i had made this application paid. Now i am going to make it free with in-app. Now the users which have already downloaded the app needs not to do that in-app purchase part. How is this possible?
If existing user will download updated version, then he has to upgrade app by paying through In-App purchase.
There is no such facility if user updates the application.

In-App purchase storing the purchase state

I am implementing in-app purchase to my iPhone App. I am following with this tutorial http://xcodenoobies.blogspot.com/2012/04/implementing-inapp-purchase-in-xcode.html and everything working fine.
But in the above tutorial purchase state is saving in the Phone KeyChain Utility. We can able to purchase it only once.
The second time when i downloaded the App it installs with purchased state .
In in-app purchases purchase should be unique to Apple ID or Device or Both ?
Thanks.
Yes, if you create product as Non-Consumable then it will allow only once to buy.
I haven't found any possibility to undo a purchase of a non-consumable product, neither on the device nor in iTunes Connect. So you have to either test your in-app purchases with a consumable product, or you need to delete your test user in iTunes Connect and register a new one.

How to add a new in app purchase to a project which has already using inapp purchase in IPhone?

I have an IPhone application which is having a non consumable in app purchse already integrated.Now i wanted to add a subscription based in app purchase to it without deleting the existing in app.Can anybody help me with the steps needs to do achieve this.I need to do it as a seperate in app purchase.Or adding a product to the existing in app purchase?
You just add it in iTunes Connect,am not i'm right?

invalid Product Id's in In App Purchases iPhone application?

i just created In App Purchases for my new application and checked Cleared for Sale option.
But when i test my application after 2 days its still giving me invalid product id's..
I didnt Approve them earlier. Do i need to approve the App Purchases too before testing them...Will that affect my application when i upload my final binary and apple starts testing it??
I had the same problem.
It turned out I had to increment the version number of my app in my bundle. This was an app already on sale on the app store for which we decided to add in-app purchase.
Also make sure your bundle Id matches the one in iTunes Connect.
You don't need to approve the in-app purchase to test it only to clear it for sale.