Invalid product Id in InApp Purchase
I have implemented InApp Purchase in my App.
These are the steps i have taken
- Created a new App Id as "QPSRWANSS5.com.cmpnyname.appname" Enabling Manage In App Purchase
- Created Provisioning File and installed
- In my Project Info.plist i gave Bundle Identifier like "com.cmpnyname.appname"
- I added a binary iTunesConnect and rejected It
- Now added a new InApp Purchase and gave all the info needed and the InApp Purchase is in the "Waiting For Review " State now.
- Included the storekit and added the request and response code.
- Created a test user in my account.
- Signed out of Apple Id in my device, Uninstalled the previous build in the device
- Installed the new build in my device new provisioning file
Now the Output is Invalid product id: com.cmpnyname.appname.feature
Can you guys help me out where is my problem.
Another question is in my Contracts/ tax/ Banking Contracts In process / iOS Paid Applications / view bank Info there is a Information in Red
"Note: Banking update in progress, your changes should be reflected within 24 hours. You will not be able to make any changes until your update completes processing."
But i wait开发者_Python百科ed for more than 48 Hours and still this doesnt go. Does this has effect in my Invalid Product Id Output?
Sometimes, more than 48h are needed..
You should take a look at this website : InApp purchases, a full walkthrough
And always on this website : Invalid Product Ids
Yes of Course, that matter with your invalid product ID. Paid Contract should be working in order to test In-app purchase.
I just went through all of this the last couple of days. I can verify the following
- You don't need to upload a binary to test in-app purchase.
- You don't need to use your device. You can use the simulator to test in-app purchase as long as the projects target deployment version is iOS 5.0. At least for querying the products, the simulator works fine
- In my case, the missing link was missing bank info in my itunes account
so the steps are
- Create new app id without asterisk
- Create new development provisioning profile and install in xcode
- Change your app settings to use the new bundle id and provisioning profile
- Create new app in itunes by providing stub metadata
- Create in app purchase product and also specify a screenshot
- From the version details page of the app, "link" the in-app product with the app
You are ready to test by using the productid of the in-app product. This worked for me without having to wait at all before running the code.
UPDATE: Actually you don't need the device for none of the steps involved in the purchase. You can complete the process by logging in with a test account IN THE SIMULATOR.
Please make sure that you have completed all the financial requirements.
- Go to agreements,tax and banking
- Fill out all 3 columns of paid applications contract type including contact info, bank info and tax info.
Hopefully, this will resolve the issue.
精彩评论