Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid product identifier: (null) #4

Closed
patzero opened this issue Oct 8, 2013 · 0 comments
Closed

Invalid product identifier: (null) #4

patzero opened this issue Oct 8, 2013 · 0 comments

Comments

@patzero
Copy link

patzero commented Oct 8, 2013

Hi!

I am trying your plugin in a phonegap 3.0 hello world project to keep things simple. When I call the purchase function:
window.storekit.purchase("com.example.app.inappid1", 1);

I am getting in the console:

2013-10-08 16:19:54.062 InAppTest[2934:60b] InAppPurchase[objc]: About to do IAP
2013-10-08 16:19:54.064 InAppTest[2934:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Invalid product identifier: (null)'
*** First throw call stack:
(0x31303f53 0x3b6da6af 0x31303e95 0x33a0690f 0x105897 0xfe3e1 0xfdd11 0xfd8e9 0xfda93 0xfd9b1 0x31ce703b 0x312cf18b 0x312ce65b 0x312cce4f 0x31237ce7 0x31237acb 0x35f58283 0x33ad9a41 0x103f67 0x103f28)
libc++abi.dylib: terminating with uncaught exception of type NSException

The "null" is very weird. I am getting the same issue in my real app with the real app id. Any ideas of what could be wrong?

Thanks a lot for your help!

poiuytrez

PS: My real app is using Phonegap 1.9 with the old inappplugin (I even contributed to it). I am upgrading it to Phonegap 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant