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

inventory.getDetails doesn't seem to work so I can read price. #26

Open
kgividen opened this issue Sep 5, 2017 · 1 comment
Open

inventory.getDetails doesn't seem to work so I can read price. #26

kgividen opened this issue Sep 5, 2017 · 1 comment

Comments

@kgividen
Copy link

kgividen commented Sep 5, 2017

Everything seems to be working ok for me except I can't get the details of the inventory. I'd liek this so I can dynamically display the price from the inventory instead of hardcoding it.

On the queryInventoryComplete function this just produces a null instead of the expected details object.

var queryInventoryComplete = function(e) {
var inventory = e.inventory;
Ti.API.info("inventory.getDetails(purchaseIds[0]):" + JSON.stringify(inventory.getDetails(BlahID.com)));
}

Otherwise, things seem to work as far as purchases go...

@martesabt
Copy link

Everything seems to be working ok for me except I can't get the details of the inventory. I'd liek this so I can dynamically display the price from the inventory instead of hardcoding it.

On the queryInventoryComplete function this just produces a null instead of the expected details object.

var queryInventoryComplete = function(e) {
var inventory = e.inventory;
Ti.API.info("inventory.getDetails(purchaseIds[0]):" + JSON.stringify(inventory.getDetails(BlahID.com)));
}

Otherwise, things seem to work as far as purchases go...

Did you finally got it? I have the same problem :/

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

2 participants