Hi All,
We are implementing the inapp purchase in our game, but when
we tried to test it failed with the message "Product Not Avilable in the
Store".
We know that we do not have to log with the TEST USER made in itunes connect, so when we try to simulate the purchasing we are not requested to log with an account. So something is wrong...
We are pretty much sure we have put all the Bundle ID and Product information correctly, but something is not workin properly over there...
Comments
have you checked this thread? Maybe it will help
http://www.giderosmobile.com/forum/discussion/1604/in-app-purchase-example#Item_3
Dislikes: Nascode
1. Test on real device.
2. Don't use jailbroken device.
3. If you're using Gideros Player, make sure Bundle ID of player matches your App ID. (appname-info.plist > Bundle Identifier)
4. Create a test user (iTunes Connect > Manage Users > Test User) and use it as store account. Preferably, while creating the test user, use an email account specifically created for this purpose (e.g. testiap@twelve...com). Also while creating, select iTunes Store same with your country (e.g. Italy)
4. Login with your newly created account on your device. After logged in, you should enter all your info (name, address, credit card).
5. After adding your app (iTunes Connect > Manage Your Applications > Add New App), go to "Manage In-App Purchases" and create some. My test bundle ID is com.giderosmobile.iaptest therefore I've created 2 in-app purchases as com.giderosmobile.iaptest.consumable and com.giderosmobile.iaptest.nonconsumable. I'm attaching a screenshot.
6. The contract for paid applications must be in effect in order to receive data about the in app purchases configured.
And this is my test code (almost taken from reference manual)
Likes: mertocan
No need to register full information for the test account. Just use it directly when the game ask. In order to do so, we have to log out of our real account first, and don't log in with the test account in phone's setting page.
Likes: atilim
https://sites.google.com/site/xraystudiogame
- Are you testing on jailbroken device?
- What's the status of your IAP item in iTunesConnect?
- Do you have clearer error description of the issue?
NO
- What's the status of your IAP item in iTunesConnect?
Ready to Submit
- Do you have clearer error description of the issue?
When we press, it go to connect to the store and the the Invalid identifier with the iap name
btw, as a final solution, I can recommend installing a fresh iOS to your test device. Btw, do you have more than one test device? Do you get the same error for each of them?
products:
invalidProductIdentifiers:
com.renklihayatlar.renklihayatlar.nonconsumable2
payment.productIdentifier com.renklihayatlar.renklihayatlar.nonconsumable2
payment.quantity 1
transaction.state failed
error 0 Can not connect to iTunes Store.
1. Test user login/password
2. Your application bundle ID
3. Your product IDs
And although I'm not exactly sure, your bundle ID and product IDs should be compatible. I mean if your bundle ID is com.giderosmobile.myapp, your product IDs should be like com.giderosmobile.myapp.XXX.
I can get your product list and make a purchase without a problem. I've only changed the bundle ID of player and deployed to device. And then use the example code above. I cannot predict what's wrong on your side.
Today I'll install Xcode 4.5 and make a test on iOS 6 also.
also when i tap on the screen i get
event.errorDescription = "can not connect to itunes store"
and event.error code = 3
from onTransaction function. what does this mean server down?
"The contract for paid applications must be in effect in order to receive data about the in app purchases configured."