Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Web payments

661 views

Published on

Published in: Economy & Finance, Business
  • Be the first to comment

  • Be the first to like this

Web payments

  1. 1. Daniel Davis@ourmaninjapanbit.ly/webpaymentsPayments on theOpen Web Platform
  2. 2. In China2/3of internet accessis mobilewww.chinainternetwatch.com/whitepaper/china-internet-statistics
  3. 3. www.bcg.com/media/PressReleaseDetails.aspx?id=tcm:12-103641Chinese users spend1 hour/daymore on the internetthan U.S. users
  4. 4. How to avoid this?How to avoid this?twitter.com/scottjenson/status/347729021431324672
  5. 5. Multi-device
  6. 6. Multi-platform
  7. 7. What aboutWhat aboutpaymentspayments??
  8. 8. Web app storesFirefox OSTizenUbuntu Mobileetc.
  9. 9. Premium content (1)→
  10. 10. Premium content (2)←→
  11. 11. Payment APIsFacebook CreditsAT&T Payment APIGoogle WalletMozPayetc.
  12. 12. Example (MozPay)Buyer logs in with Mozilla Persona↓Buyer enters PIN↓Purchase is charged to phone billor credit card
  13. 13. BUT!Restricted by:vendoroperatorplatform
  14. 14. In the future...In the future...
  15. 15. W3C Web Payment API1) Send JWT payment request2) Call payment method, e.g. navigator.pay()3) Secure channel created with payment provider4) Buyer is authenticated5) Buyer approves purchase6) App receives success/fail JS callbackN.b. Rough initial concept – likely to change
  16. 16. JSON Web Token (JWT) examplepaymentJWT = jwt.encode({"iss": APPLICATION_KEY,"aud": "marketplace.firefox.com","typ": "mozilla/payments/pay/v1","iat": 1337357297,"exp": 1337360897,"request": {"id": "915c07fc-87df-46e5-9513-45cb6e504e39","pricePoint": 1,"postbackURL": "https://yourapp.com/payments/postback","chargebackURL": "https://yourapp.com/payments/chargeback",# Other app metadata}}, APPLICATION_SECRET)Source: wiki.mozilla.org/WebAPI/WebPayment
  17. 17. What else?What else?
  18. 18. Tools...Tools...AdobeAdobeIntel XDKIntel XDKWozllaWozllaetc.etc.
  19. 19. ...and you...and youw3.org/html/ig/zhw3.org/html/ig/zhw3.org/wiki/Payments_Task_Forcew3.org/wiki/Payments_Task_Force
  20. 20. Daniel Davis@ourmaninjapanbit.ly/webpaymentsPayments on theOpen Web Platform

×