Upgrade to Pro — share decks privately, control downloads, hide ads and more …

In App Purchace

daijo
February 21, 2012

In App Purchace

Short tech talk on iOS In App Purchase.

daijo

February 21, 2012
Tweet

More Decks by daijo

Other Decks in Programming

Transcript

  1. Not allowed Real world goods or services No intermediary currency

    No downloaded code (just enabled) No naughty stuff (simulated gambling allowed) Wednesday, May 4, 2011
  2. The flow Pt.1 APP STORE APP SERVER ASK FOR PURCHASED

    PRODUCTS (WITH USER) RETURN PURCHASED PRODUCTS SEND PRODUCT REQUEST RETURN VALID/INVALID PRODUCTS POPULATE THE UI USER CLICKS TO BUY SEND PAYMENT REQUEST RETURN TRANSACTION UPDATE ASK FOR AVAILABLE PRODUCTS RETURN OUR PRODUCTS ASK FOR PRODUCT DATA PRODUCT DATA DELIVERED Wednesday, May 4, 2011
  3. The flow Pt.2 APP STORE APP SERVER RETURN TRANSACTION UPDATE

    (WITH RECEIPT DATA) ASK FOR PRODUCT DATA (WITH PRODUCT ID AND RECEIPT DATA) RETURN RESULT IF VERIFIED RETURN PRODUCT DATA STORE RECEIPT FOR USER VERIFY RECEIPT Wednesday, May 4, 2011
  4. iTunes Connect The most annoying piece of sh*t ever Feedback

    loop ~24 hours. No error messages Apple Docs doesn’t cover possible failures Plan for this fact - upload binary and define products and test early in project Wednesday, May 4, 2011