If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

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

Reply
Trusted Contributor
itcraps
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus
Accepted Solution

In App Payment to Unlock Features

How do we implement this? for example: I have a "Lite" app that allows user to unlock some "Pro" features using In App Payment.

 

So what do I need to do? Once the payment succeed, what should I do to keep the Unlocked features stay Unlocked the next time user launch the app?

 

Thanks  

www.jackdevora.com
Please use plain text.
Super Contributor
JeffLemon
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Re: In App Payment to Unlock Features

I have created a local database that stores what the user has purchased.

 

This is then loaded when the user loads the app.

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Please use plain text.
Developer
d3v3l0p3r
Posts: 162
Registered: ‎07-19-2012
My Device: Q5, Q10, Z10, Z30, PlayBook
My Carrier: Carrier

Re: In App Payment to Unlock Features


JeffLemon wrote:

I have created a local database that stores what the user has purchased.

 

This is then loaded when the user loads the app.


What happens if user figures out where you store it and will modify the database to set purchased options without purchsing? I thought there was an API to query app World for list of purchaased features which you can then use to make decisions what to enable.disable?

---
If you find my post helpful please "like" it and "accept as a solution"
Please use plain text.
Developer
Ebscer
Posts: 851
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: In App Payment to Unlock Features

Applications are sandboxed so that other apps would be unable to modify this data...


Read my thoughts on BlackBerry Development at news.ebscer.com
Please use plain text.
Contributor
cochamarco
Posts: 104
Registered: ‎12-01-2012
My Device: BB Bold
My Carrier: Indosat

Re: In App Payment to Unlock Features

you must check what first item will unlock by user
Please use plain text.