Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Payment Service

New Developer
Posts: 14
Registered: ‎11-28-2013
My Device: BlackBerry Z30
My Carrier: BlackBerry
Accepted Solution

Not able to retrieve digital goods price

[ Edited ]

I'm using this codes to retrieve price for an item

paymentservice_get_price(NULL, ITEM_SKU, getWindowGroupId(), &request_id);


I'm getting an error saying

This app isn't allowed to access the items you're looking for


What could be the possible problems that caused this to happen?


Previously I was testing this on local mode but I realised no matter what SKU i passed in, it will only return me with a single price for all SKU (although each of them should have different prices)


Then currently I'm testing it on production mode end up I'm getting an error.


I would like to ask what's the right away to retrieve all my items price?

PS: I'm developing in native codes (C++)

Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: Not able to retrieve digital goods price

You need to test while on production mode from your sandbox, to do this upload the .bar to Blackberry world and then you can download it to your device through the developer section of Blackberry world in an hour or 2 after app world configures it.


You'll need to assign your bbid e-mail to the application sandbox, don't leave any spaces behind it either while setting it up as it won't recognize the email.