How to restrict user to purchase new In-App Purchase Product while it is being review by Apple? - iphone

I am adding couple of new In-App Purchase Products to my existing App(Available on App Store).
These Products are shown in my App through web service.Now, I want to show a message to users that these items are not available for sale while reviewing these products by Apple. Is there any API for it and If I does't show these new Products in my app while review by Apple. will Apple approve my In-App Purchase products? .... suggest me.
Regards,
Pankaj

No, there is (unfortunately) no interface in iTunes Connect to determine if in-app purchases have passed the review process: you will need to set up an option in your web service that filters out products that have not yet been approved, and then once they pass through the review process you can make them available to the app.

Related

implimentation of online payment in iphone Apps

I've to implement online payment method in my app for selling some products like gift items. Which method will i use?in App purchase or paypal? Does paypal implemented apps accepted in appstore? plz help me.
If they are actual items that one would use outside the app. Like a book, or a DVD, and not something for use in the app, you need to use paypal or something similar. In app purchases are only meant to purchase added functionality or extra content within your app. See also Apple documentation
Apps with other payment methods than in app purchase are accepted, as long as the purchase is not added functionality or content for your app.
To answer your question lets understand two basic things:
You use Paypal implementation only and only when you purchase physical goods like gift items as you mention.
You use In App Purchase when you need to provide/ unlock some feature inside your application itself.
In your case as you mention you need to have transactions for gift items you have only one option i.e use online transaction APIs like Paypal.
Regarding your second question, Yes Paypal integrated apps are accepted in App Store. There are plenty of such apps already in the App Store

How to make payment with different amount via In app purchase in iphone sdk?

Please tell me How to make payment with different amount via In app purchase in iphone sdk?? as i am creating an application in which subscription charges deduced from a website and in the same way i want to make payment using my application and subscription amount change all the time.. as apple don't approve paypal for the same purpose. How to handle this problem??
can we use web services for deduction of charges and get response of success or failure from web services?
For in-app purchases of app content, you're only allowed to use Apple's In-App Purchase system. You're not allowed to use paypal or anything else from in the app.
The only way to set the price of an in-app purchase item is in iTunes Connect. StoreKit (the API you use for in-app purchases) gets product prices from iTunes Connect, and there is no API for overriding the prices from within the app.
There's no public API (as far as I know) for changing the price in iTunes Connect, either. Perhaps you can script the normal web browsing interface, or find code someone else has written that scripts it. But the only way that Apple provides for changing the price of an in-app purchase is to log in to the iTunes Connect web site in a web browser.

In-app purchase confusion in iPhone: is it possible to use both type of in-app purchases in a single application?

I have an application which is using a consumable in app purchase for the products. Now I want to add some more portions to the existing application which can be used only if the user is subscribed for that option. So is it possible to use both type of inapp purchases in a single application. And can anybody provide an idea about how I can achieve this.
So you want to hide some in apps unless they have purchased a special in app?
Can't you just check in your code if the first one has been bought? Then display the rest.
You just go to iTunes Connect, to your app, and then to manage in-app purchase section.
You can add any amount of purchases there. Then your new in-app will be reviewd by Apple and you would be able to update your app with new code for retrieving that new in-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.

How do I submit auto-renewable subscription + app for review in iTunes Connect?

I'm trying to upload the first version of an app that has auto-renewable subscription IAP products associated with it. The products are all Ready to Submit, and I see a note at the top of the manage in app purchases page that says:
• Your first In-App Purchase(s) must be submitted with a new app
version. Select them from the In-App Purchases section of the Version
Details page and then click Ready to Upload Binary.
However, when I go to the version details page, I do not see an In-App Purchases section, and don't see any other way to specify which In-App Purchases I want to submit along with the app.
If I subsequently add a non-renewable subscription product to the app, I do see the In-App Purchases section on the version details page, but it only contains the non-renewable subscription product, not the auto-renewable subscription product that I actually want to submit.
Does anyone know what else I need to do to allow the auto-renewable subscription IAP products to be submitted for review along with this version of the app when I submit my binary?
We decided to submit the app with non-renewable subscriptions to see what would happen. When we did this, the option to submit the auto-renewable subscriptions appeared in the "Manage In-App Purchases" page.
It looks like the developer guide and the messages in iTunes Connect that refer to using the In-App Purchases section of the Version Details page to control submission of subscriptions does not apply to auto-renewable subscriptions.