# deliver content through In App Purchase

**URL:** <https://forums.solar2d.com/t/deliver-content-through-in-app-purchase/310202>\
**Category:** Monetization (in-app purchases, ads, etc.)\
**Created:** [January 26, 2013, 12:29am UTC](https://forums.solar2d.com/t/deliver-content-through-in-app-purchase/310202 "2013-01-26T00:29:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebertole](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/e/f9ae1b/32.png) [@ebertole](https://forums.solar2d.com/u/ebertole)\
**Post date:** [January 26, 2013, 12:29am UTC](https://forums.solar2d.com/t/deliver-content-through-in-app-purchase/310202/1 "2013-01-26T00:29:54Z")

</div>

Hi you all, using `http://developer.coronalabs.com/code/super-simple-iap-1-line` I setted up a store for my game.

Now the question is: once the user has bought something on my store, how can I unlock the content in the application?

Thanks 🙂 [import]uid: 76800 topic\_id: 35334 reply\_id: 335334[/import]

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [January 26, 2013, 1:06pm UTC](https://forums.solar2d.com/t/deliver-content-through-in-app-purchase/310202/2 "2013-01-26T13:06:05Z")

</div>

You’re not going to like this answer: “How ever you want to”.

There are dozens of strategies to do this. Some include downloading extra resources from a web server, other are simply setting a flag on a level saying it’s locked and on a successful purchase setting the flag to say it’s available (and saving the results to a local file for unlocking when the app is restarted).

A lot depends on what type of content you are unlocking and how your app is structured. Perhaps if you provide a bit more information about what it is your unlocking, the community could provide a more detailed and focused answer. [import]uid: 199310 topic\_id: 35334 reply\_id: 140480[/import]

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [January 26, 2013, 1:06pm UTC](https://forums.solar2d.com/t/deliver-content-through-in-app-purchase/310202/3 "2013-01-26T13:06:05Z")

</div>

You’re not going to like this answer: “How ever you want to”.

There are dozens of strategies to do this. Some include downloading extra resources from a web server, other are simply setting a flag on a level saying it’s locked and on a successful purchase setting the flag to say it’s available (and saving the results to a local file for unlocking when the app is restarted).

A lot depends on what type of content you are unlocking and how your app is structured. Perhaps if you provide a bit more information about what it is your unlocking, the community could provide a more detailed and focused answer. [import]uid: 199310 topic\_id: 35334 reply\_id: 140480[/import]
