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

Plugin replies always with empty skuList = [] #2

Open
fpassa opened this issue May 10, 2016 · 4 comments
Open

Plugin replies always with empty skuList = [] #2

fpassa opened this issue May 10, 2016 · 4 comments

Comments

@fpassa
Copy link

fpassa commented May 10, 2016

From Android log I can see this:
D/WizPurchase( 7541): Inside mGotDetailsListener
D/WizPurchase( 7541): Update Inventory
D/WizPurchase( 7541): Query details was successful.IabResult: Inventory refresh successful. (response: 0:OK)
D/WizPurchase( 7541): skuList: []

I have my App in Beta published with 5 products activated for in-app purchase.

Any idea?

@fpassa
Copy link
Author

fpassa commented May 11, 2016

Still not working even when uploading same signed APK into device that was used to upload in store. At least in Android device, as well as Genymotion with latest Google Play, it always back skuList=[].
For instance this is the output from connected USB Android device from adb logcat:

D/WizPurchase(32070): initialising plugin
D/WizPurchase(32070): Plugin execute called with action: setUp
D/WizPurchase(32070): Plugin execute called with action: requestStoreListing
D/WizPurchase(32070): init start
D/WizPurchase(32070): Creating IAB helper.
D/WizPurchase(32070): Starting setup.
D/WizPurchase(32070): Setup finished.
D/WizPurchase(32070): Setup successful. Querying inventory w/ SKUs. [quiz2_expla_x5,quiz2_expla_x10,quiz2_expla_x50,quiz2_f_version,quiz2_no_ads]
D/WizPurchase(32070): Inside mGotDetailsListener
D/WizPurchase(32070): Update Inventory
D/WizPurchase(32070): Query details was successful.IabResult: Inventory refresh successful. (response: 0:OK)
D/WizPurchase(32070): skuList: []

In addition, provided link to test APK for your demo app is not working. 404 error.

@fpassa
Copy link
Author

fpassa commented May 13, 2016

This plugin doesn't retrieve properly the list of products. I've switched to use the fovea plugin and it retrieves the product list from the server even when APK is not signed (https://github.com/j3k0/cordova-plugin-purchase). Signed APK only required at purchase confirmation, otherwise it doesn't allow to do purchasing, but it's possible to retrieve product list.

@arijan108
Copy link

Hey man, got the similar problem. Did you solve this anyhow?

@aesculus
Copy link

Worked for me but you have to follow his example explicitly.

You can see what is returned via:
alert(JSON.stringify(result));

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

3 participants