Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 06-05-2011, 12:49 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 76
ae262 is on a distinguished road
Default Server for in-app-purchase

Hi,

I am working on a in-app-purchase type app, where the user will need to purchase various products from a store. Upon purchase, they will receive data from a server.

My question is regarding the 'server'. What are my options for getting one and what would be a preferred option?

I am a complete novice and have no prior background on servers and will appreciate any feedback on pros/cons of various options.

Also, I would prefer to go with a cheap option as I don't know how my app will sell.

Thanks.
ae262 is offline   Reply With Quote
Old 06-05-2011, 05:41 PM   #2 (permalink)
Registered Member
 
Join Date: Mar 2011
Location: The Netherlands
Posts: 44
Hollance is on a distinguished road
Default

It's a lot easier if the purchased data is in your app and can be unlocked. Then you don't need a server.

However, if you do need a server, at the minimum you should set up a VPS hosted solution, for example over at Linode. This gives you a bare-bones Linux installation. You will have to install all the other software yourself, but Linode has good tutorials.

This is how it works in a nutshell:

1) Your app asks for a list of available In-App Purchase products from the server. So your server needs an API that sends the list of these products back to the app. Then the app sends the product ID's from the list to the App Store to get the store items.

2) When the user purchases an item, the App Store sends your app a receipt. Your app must send the receipt to the server and in return the server will send the downloadable data back to the app. The server should store the receipt in a database table.

There is a little more work if your IAP products are subscriptions or consumable content.

If you have no idea how to do what I just said, then I suggest you hire someone to write this stuff for you. I'm available for contract development and I've written stuff like this before, both for the app side and the server side.

Alternatively, you can use a third-party service to handle all this, such as Urban Airship - Powering Push Notifications, In-App Purchase, and Subscriptions for mobile applications across major mobile platforms.
Hollance is offline   Reply With Quote
Old 06-05-2011, 09:28 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2011
Posts: 76
ae262 is on a distinguished road
Default

Quote:
Originally Posted by Hollance View Post
However, if you do need a server, at the minimum you should set up a VPS hosted solution, for example over at Linode. This gives you a bare-bones Linux installation. You will have to install all the other software yourself, but Linode has good tutorials.

This is how it works in a nutshell:

1) Your app asks for a list of available In-App Purchase products from the server. So your server needs an API that sends the list of these products back to the app. Then the app sends the product ID's from the list to the App Store to get the store items.

2) When the user purchases an item, the App Store sends your app a receipt. Your app must send the receipt to the server and in return the server will send the downloadable data back to the app. The server should store the receipt in a database table.
Thanks for your comment and information. I compared the VPS type hosting and the shared server hosting - the price for shared servers are much cheaper. Any thoughts on use of these?
ae262 is offline   Reply With Quote
Reply

Bookmarks

Tags
in-app-purchase, server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 384
18 members and 366 guests
Absentia, AyClass, Diligent, dre, fvisticot, givensur, jbro, jPuzzle, momolgtm, Newbie123, Paul10, Punkjumper, revg, sacha1996, skrew88, taylor202, tomtom100
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,643
Threads: 94,110
Posts: 402,858
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Diligent
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:40 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0