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.
Related
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.
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.
I'm using in-App purchases in my App on behave of getting some sounds from the App to the iPhone as a ringtone.
I've used 'Consumable' as the type for in-App purchase so that the user would be able to buy a ringtone and download it directly.
However this App got rejected by Apple because they want this function to be non-Consumable (so you would be able to retrieve this ringtone more than once). I only don't know how to set this up in my App because there are more than 200 possible ringtones. The actual buying is not the difficult part but as a criteria for in-App purchases you need to be able to restore previous transactions. As I'm only using one product identifier I think I would not be able to identify which ringtone has been purchases when restoring.
So my final questions:
1. How can I identify which item is bought (i.e. by using tags in the purchase)?
2. Am I able to use only 1 product identifier for this In-App purchase. Or do I need to make a productIdentifier for each and every ringtone?
You have to create a non-Consumable product for each ringtone, each one with a different identifier, if Apple is refusing your app I think you have no other choice.
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.
I have a few questions regarding inApp Purchase as follows:
Do we need to make a product (in App purchase) live before submission or we can make it after app approval.
Suppose I have a product in inApp Purchase that is to be in sale by Next week, and if my app with inApp purchase version gets approved this week, then how do the Apple store test my app.
Do any one know how the apple app store guys test the inApp purchase in the application. Do they buy our product in the inApp purchases and then test the product. What does the screen shot submitted to approve the product in iTunes for inApp Purchase refers to.
Apple submission is largely guesswork.
I don't think you need to worry about how Apple test the In-App Purchase. If your app currently has no purchases available for it; but it still works, then I would think that's okay.
From a 'making-your-users-happy' point of view it would make sense to be able to buy at least some In-App content the day it goes live - but I don't think it would be necessary to pass Apple approval.
The screen shot is supposed to show what the user gets in return for their purchase. However, that can be tough - just do the best you can. We have an In-App purchase for the 'full version' of a game, to demonstrate that I just used the splash screen of the game. It passed.