Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

XCode Tutorial: In-App Purchase

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
22,950
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 31, 2010

In-App Purchase is something highly requested and something to get developers a little extra money from their apps. Whether it's buying a song, a game level, or a book, it comes in handy. No need to create separate apps for the things you were making for the app.

Source Code: http://tinyurl.com/2evcqqr

"Forest Green (acoustic riff)" by Robert Emerald
http://robertemerald.newgrounds.com

Check out ipodtouchguru3!

http://youtube.com/‬ipodtouchguru3


----------------------------------------------------------------------



For shout-outs, blog advertising and more, check out the "Advertise" page on my blog.



http://blog.simplesdk.com/index.php/a‬dvertise



----------------------------------------------------------------------



Other Links:



http://twitter.com/SimpleSDK

‪http://blog.simplesdk.com
 ‬

  • likes, 5 dislikes

Link to this comment:

Share to:

Uploader Comments (SimpleSDK)

  • @iwin28647 For content, such as new game levels, I include them in my app, and instead of downloading a file when the payment request gos through it sets a Boolean value to yes, when the Boolean is set to yes the levels become playable by the user. Hope that helps :)

  • @Pumpy032 Yes, but where is the boolean stored? In a plist file?

  • @Pumpy032 Bad idea users with jailbroken devices can get in the files and change the boolean to yes and that way you lose money and thats bad!

  • @MacOSeX10 Exactly, but it depends where the value is stored.

Top Comments

  • paymentWithProductIdentifiers is deprecated, what should I do ?

  • Just FYI with iOS 5 being out, instead of saving files to the Documents folder, they need to be saved to the Caches folder or the app will get rejected.

see all

All Comments (79)

Sign In or Sign Up now to post a comment!
  • 404 error for your source code

  • hey man how can i make the inapt purchase make banners go away?

  • Hey man !

    It worked perfectly in my first try !

    Thank you very much, your tutorial is too direct !

    Bruno

    Brazil

  • Your vid is popular on Hanoi

  • The best tutorial in the world!

  • @MacOSeX10 or you can add "security keys" as I call them which have a specific huge value set when the boolean is true or false. If they change the boolean, but the security codes don't match the value, you could make the app crash. For example, if they had purchased the content, there could be a security key set to 102948, and if it's not purchased, the key would be set to 938473. If the key either doesn't match the boolean or is another number, they're a hacker and you would crash the app.

  • This vid is popular on Senegal

  • Simple and works >>> /watch?v=_f309zA3yOM <<<

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more