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

Native Development

Posts: 11
Registered: ‎11-01-2011
My Device: Playbook
My Carrier: StarKiller

[Payment service] Currency



There is a function or a way to know witch currency will  be displayed in the buy now window at the end of the purchace.



Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: [Payment service] Currency

Hi there,


PaymentEngine.getPrice() will return a PriceSet Object from which the price value can be retrieved as a String, however I am not sure whether any currency information is conveyed or strictly the number value. A quick test could confirm this.


Unfortunately there do not appear to be any APIs for retrieving the currency of a purchase directly. From the BlackBerry App World FAQ:

Prices in the catalog will appear in the local or default currency, based on your home carrier.


However, browsing the forums it appears this can also be affected by the user's chosen payment method. In short, it doesn't look likely.


Erik Oros

BlackBerry Development Advisor

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.