What is necessary to upload to iTunes Connect for Store Kit testing? - iphone

Most tutorials I've been able to find are dated and inconsistent with regard to what is actually necessary to have uploaded and approved in iTunes Connect. Following one tutorial I uploaded incomplete binary and rejected it. I then added an In App Purchase Item. I uploaded an image and filled in all the registration information.
So currently,
App - Status -- Developer Rejected
In App Purchase Item -- Ready to Submit
I am able to make requests to the store kit, but I am getting 0 results. Is it possible to get results with my current iTunes Connect statuses?
Edit: I appreciate the trouble shooting advice. But I want to make sure that it is in fact possible to retrieve purchase items with the above statuses.

Make sure that you provided all the details for the app including the in app purchase details along with screen shot.
Next is to make sure that the app ID's are same in server and in the app.
When testing in-app purchase, create test account in app store and use it for testing. Make sure that the mail you are using is not existing. Also on your device, you have to use those test credentials to test the app.
Hope this helps.

Yes, it is possible as I just managed to do it. My problem was tax info. Thanks to Paul Mason, your comment was the correct answer!

Related

IPhone app In app purchase giveaway

I have an application that my client wants to give away to customers for free.
To get the full functionality, the customers would have to fill in a code.
Other customers will need to do an In App Purchase to get the full functionality.
Is this allowed by Apple or will I bump into app store restrictions.
Tried to find it, but haven't found a decent answer.
Anyone tried it before ?
Thanks !
Please see this other SO answer:
Redeem codes for inapp purchase items
I dont think it is possible to do what you want. Either everyone has to enter a code, or everyone has to do an in-app purchase.
You could also have both of these options available inside the app, but that may seem messy and informal for customers
I would say you could ask the user for a login (email + password). You could then connect to a server of yours and check the credentials. If the server knows this user because you host a list of all the users allowed to use the premium options for free, you could unlock your premium features. Otherwise, you ask Apple for the In App Purchase precedure.

how to know app was priviously install on ios device?

There is any way for identify that user is installing my app again? Actually in my app i have a feature user can translate some word for free but after that he have to pay. I am using in app purchase for same. But what if user delete app and install again ? he will be able to translate again for free.How to know app was previously install on that device?
Application goes to the App Store for in app purchases. If user has already bought that item, it returns true to your request. User won't pay it again each time.
Some implementations of in app purchases use the keychain to record purchase flags or freebie flags as you mention.
This blog entry will show you how to store and retrieve something from the keychain.
This approach really doesn't to my mind sit well with the principal of sandboxing an application so I expect it's frowned upon by Apple and by purists but if you search SO then you will find other posts relating to in app purchases and using the keychain.
See this answer as it seems to be pretty definitive on the subject.

in app purchase testing is done, do I need to do anything before uploading to app store

I have made an app and integrated in app purchases feature.
After reading a lot and lot I have finally working in app purchasing featured app and when I use my test account (created through iTunesconnect), it all just go smoothly and works as like expected.
I just wanted to ask that, do I need to make any configuration in iTunes connect or enable/disable any options before going live by uploading the app to the app store?
Or should I consider that if the test account works well, it will be working live too without any additional changes.
Also let me tell you all that I am a beginner for this in-app purchasing concern so please forgive if this is a silly question. :)
Thanks,
Just make sure that you link the in-app purchase to the correct version of your app in iTunes Connect and that your in-app purchase is ready for review. It that is correct, then you're ready for upload and review.

In-App-Purchasing iPhone application?

I am facing problem on In-App-Purchasing in my iPhone/iPad application.
My Issues are :
1> What is the use of Shared Secret - Where we have to use this?.
2> How we can all our application form store?
3> How we can test our application?
4> To enable in app purchase - We need application on app store?
Please give me some guide line for implementing in app purchasing.
Thank you.
I am gone through the apple process to enable in app purchase but I dn't know what I missed in my steps that's why I need more clear steps to understand the In-App-Purchasing with in my application?
Basically I need full steps for In-App-Purchasing.
Thank you.
Start with reading the Apple "In App Purchase Programming guide": https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html
1)http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/RenewableSubscriptions/RenewableSubscriptions.html YOU CAN FIND YOUR ANSWER HERE.
2)Sorry, didn't get you on this one
3) To test in-app-purchase
step1: log into iTunes connect, Navigate to manage your applications-->add new application (FILL THE INFORMATION)--> Availability date can be set at a later stage, select the price range-->enter the METADATA.
step2: Navigate to contracts, Tax & banking section in Itunes Connect & complete the IOS PAID APPLICATIONS CONTRACT.(Enter bank details, tax & contacts).If your app is free complete IOS FREE APPLICATIONS CONTRACT as well.
step3: Navigate to the manage users section & create a TEST user account.
step4: ADD products to your application.
step5: Transfer the application to your device using developer provisioning profile. The developer provisioning profile should use the SAME BUNDLE ID which was used while adding the application. before transferring the application navigate to settings--> store--> logout from any iTunes user account.
4) There IS NO NEED for APPLICATION TO BE ON APP STORE TO ENABLE IN APP PURCHASES.
I don't fully understand what you exactly need
Apple has a really good documentation on The Store Kit framework.
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/Introduction/Introduction.html
I myself never created something for in-app purchase but to clarify a little bit.
I believe there are 2 ways to implement this
one is writing predefined stuff in youre source
for example, in infinity blade they let you buy extra gold.
The user asks for the list of available purchases from the app store the app store produces a list of in-app identifiers (which are predefined in code and on itunes connect)
the user selects for example "10.000 extra gold" for 0.99 dollar cents
The transaction will be made to the app store, the app store after succes returns a ok message in which the code should have a listener implemented that basically in this example add 10.000 to your "currentGold" variable.
The other way I don't know much about is connecting via an app to app store which in his turn connects to a server that is set up by you.
From what I can gather is that is what is being uses for level unlocks in for example sudoku games etc
as for Testing the purchase.
Whenever you have store kit implemented and try to connect it in the iOS Simulator.
The simulator automatically connects to a Sandbox envirenmont and therfore simulates the payment too

Delivering In-App Purchase Content via Server

My iPhone app will be a free app but for some special content, users need to buy.
For example I have 4 files for free and if the user want to buy another file he has to purchase it. I am sure that I need to use Server Product Model to deliver the content.
What I want to know is: how will content be delivered to the application?
for this u got very good tutorial on http://www.youtube.com/watch?v=xGDGO5P95Dg
in this application tutorial show how to download files and store in our application...
may be this is useful to you..
You have to go for in-app purchase.
This link will help you.
In-App Purchase without using iTunes Connect?