Basic steps and questions for iOS in-app purchases

Source: Internet
Author: User

The company recently made an iOS demo, and posted the approximate process

First, prepare a 99$ Apple developer account, 299$ cannot use in-app purchases

First sign in to the Apple Developer Center, create an app ID, and start the app purchase feature

Https://developer.apple.com/account/ios/identifiers/bundle/bundleList.action

Go to itunes Connect:

Https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa

Log in, enter, confirm that your information is complete, fill out the figure

Of course, I was to let the company fill in, as for the steps I do not know, anyway, is a number of telephone and bank cards and other

Next

Create a new app

Fill

Name: App names

Version: The time of development is to correspond with here, I write the 0.0.1

SKU: General Write bundle id,com. Company English. Application name English

Bundleid: Choose the app created in Developer Center Id,app ID and bundle ID are the same

Weak weak to say, created the author did not find the link to delete the app, if only to do the test, you can try to use the company has projects, do not guarantee that mistakes, cautious

Click to enter, fill in the information, you must fill in the fill, click Submit for review, red on the fill, lazy, can be changed later

Next:,

The author, corresponding to the online theft of a picture of others

Consumable items, adding

After adding, began to write code, a lot of content shorthand, not detailed, the following is the note to copy

If this is not successful, check the following carefully:

  • Did you open the app AppID feature in iOS Dev center In-App Purchases ? Login to iOS Dev center certificates, Identifiers & profiles, find the App,in-app under development in Identifiers Purchase an item should show enabled (if you use XCODE5, you can open In-app Purchases directly in the capabilities page of Xcode).
  • Did you register your IAP item in itunes Connect and set it to cleared for Sale?
  • is the content in your plist Bundle identifier consistent with your AppID?
  • Did you fill out the two numbers for version (Cfbundleversion) and build (Cfbuildnumber) correctly? Both are indispensable.
  • Did you use the full product ID registered with the ITC when you applied to Apple for the list of items sold? (Use the string in the Product ID column of the purchase item in IAP Management)
  • Did you regenerate the provisioning profile that contains the IAP license after you open the IAP?
  • Did you re-import the new provisioning profile containing the IAP? It is recommended that the old provisioning profile on the original device be deleted first in the organizer.
  • Are you deploying a test program with the provisioning profile that contains the IAP? In Xcode5, it is recommended to use the Team option in general to manage automatically.
  • Are you testing the IAP in the simulator? While it is theoretically possible for the simulator to test the IAP in some cases, the conditions are much less reassuring, so you really need a real machine to do the IAP test.
  • Are you testing an IAP in an enterprise release? Because the Enterprise Edition does not have an ITC in-store project management and cannot publish AppStore apps, you cannot use IAP in the Enterprise version of build.
  • Did you remove the original app from your device and reinstall it? Remember to do clean and clean Build Folder before installing.
  • Have you logged the actual Apple ID on your device before running the app? It is recommended that you log in with your Apple ID in the settings->itunes store and app Stroe, and go to the app for testing without logging in.
  • Are you using Test User? If you have not created the test User yet, you need to create it in the ITC.
  • Do you use a test account that is a U.S. region account? Not necessarily, but given the frequent convulsions of test accounts in other regions, and the steady use of U.S.-based accounts, it is strongly recommended that US regional accounts be used. Under normal circumstances, the IAP does not require credit card binding and other information to fill out, if you encounter this situation, you can try to delete the test account and then create a new area.
  • Do you have a new account to test? If possible, try it with the new test account, because the test account will be locked by Apple in certain circumstances.
  • Has your app been rejected (rejected) or rejected (Developer rejected)? Rejected apps will also be rejected, so you'll need to re-set the IAP item to cleared for Sale.
  • Is your app waiting for developer release (Pending Developer release) status? An IAP that waits for a publishing state cannot be tested.
  • Has your in-purchase item been recently created or changed? It takes a while for an in-process project to react to all servers, typically two hours, or a few hours longer.
  • Do you have projects in the ITC contracts, tax, and Banking information projects that have not been set up or have expired? Incomplete financial information is not available for in-purchase testing.
  • Are you conducting an in-purchase test on your jailbreak device? Jailbreak devices cannot be used for normal purchases, you need to reload or find a device that is not jailbroken.
  • If you can connect to Apple's server properly, you can visit the Apple Developer Forum section on IAP and if the Apple server is down, there should be a lively discussion.

Cat God's Link: http://onevcat.com/2013/11/ios-iap-checklist/

Basic steps and questions for iOS in-app purchases

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.