mobilecamp Hamburg

27
MOBILE PAYMENTS INNOVATION WITH TIM MESSERSCHMIDT Developer Evangelist @SeraAndroid August 2012

description

This talk was held at the mobilecamp in Hamburg at the 4th of August 2012. The topic is about driving innovations with (mobile) payments.

Transcript of mobilecamp Hamburg

Page 1: mobilecamp Hamburg

MOBILE PAYMENTS INNOVATION WITH

TIM MESSERSCHMIDT Developer Evangelist @SeraAndroid August 2012

Page 2: mobilecamp Hamburg

1.  How payments do look like 2.  How to ease that 3.  Payment Innovation 4.  Help?!

2  

Content

Slides: http://bit.ly/QnXcsl

Page 3: mobilecamp Hamburg

Payment scenario

3  

Buyer Seller

Transaction

Item / Service /

Virtual good

Page 4: mobilecamp Hamburg

4  

•  Get transaction details •  Shipping address •  Receiver •  Payment amount (costs) •  Payment method

Payment scenario

Page 5: mobilecamp Hamburg

5  

•  Get transaction details •  Shipping address •  Receiver •  Payment amount (costs) •  Payment method

•  Do a few calculations •  Shipping costs •  Taxes for different countries •  Currency conversion

Payment scenario

Page 6: mobilecamp Hamburg

6  

•  Get transaction details •  Shipping address •  Receiver •  Payment amount (costs) •  Payment method

•  Do a few calculations •  Shipping costs •  Taxes for different countries •  Currency conversion

•  Provide some feedback •  Error messages •  Success messages

Payment scenario

Page 7: mobilecamp Hamburg

7  

•  Get transaction details •  Shipping address •  Receiver •  Payment amount (costs) •  Payment method

•  Do a few calculations •  Shipping costs •  Taxes for different countries •  Currency conversion

•  Provide some feedback •  Error messages •  Success messages

•  Payment processing •  Send details to Gateway •  Wait for response •  Handle response •  Fulfillment

Payment scenario

Page 8: mobilecamp Hamburg

8  

•  Get transaction details •  Shipping address •  Receiver •  Payment amount (costs) •  Payment method

•  Do a few calculations •  Shipping costs •  Taxes for different countries •  Currency conversion

•  Provide some feedback •  Error messages •  Success messages

•  Payment processing •  Send details to Gateway •  Wait for response •  Handle response •  Fulfillment

•  Payment verification •  Fraud protection •  Secure connections

Payment scenario

Page 9: mobilecamp Hamburg

9  

•  Get transaction details •  Shipping address •  Receiver •  Payment amount (costs) •  Payment method

•  Do a few calculations •  Shipping costs •  Taxes for different countries •  Currency conversion

•  Provide some feedback •  Error messages •  Success messages

•  Payment processing •  Send details to Gateway •  Wait for response •  Handle response •  Fulfillment

•  Payment verification •  Fraud protection •  Secure connections

•  Responsive design •  Max 2-3 seconds •  Update the inventory

Payment scenario

Page 10: mobilecamp Hamburg

10  

•  Get transaction details •  Shipping address •  Receiver •  Payment amount (costs) •  Payment method

•  Do a few calculations •  Shipping costs •  Taxes for different countries •  Currency conversion

•  Provide some feedback •  Error messages •  Success messages

•  Payment processing •  Send details to Gateway •  Wait for response •  Handle response •  Fulfillment

•  Payment verification •  Fraud protection •  Secure connections

•  Responsive design •  Max 2-3 seconds •  Update the inventory

Payment scenario

Page 11: mobilecamp Hamburg

11  

Page 12: mobilecamp Hamburg

Requirements:

12  

Simplicity

Velocity

Safety

Page 13: mobilecamp Hamburg

New button law •  Introduced: 1st August 2012 •  Regulates the visibility of payment

agreements & buttons in eCommerce •  Made to protect the customer •  Affects mobile apps, too!

13  

Page 14: mobilecamp Hamburg

14  

SOLUTIONS

Page 15: mobilecamp Hamburg

Mobile Payments Library •  Supports both Android and iOS •  Based on our Adaptive Payments API •  Supported payment types: – Simple – Parallel – Chained – Pre-approved

15  

Page 16: mobilecamp Hamburg

Code

16  

1. Initialize the library

Page 17: mobilecamp Hamburg

Code

17  

2. Create a Payment

3. Let the library handle it..

Page 18: mobilecamp Hamburg

Examples •  MoneyBeam

–  Uses NFC to request transactions –  https://github.com/SeraphimSerapis/GADC-MoneyBeam

•  YardSale –  Uses ZXing to scan QR codes –  https://github.com/zaffra/YardSale

18  

Page 19: mobilecamp Hamburg

Mobile Express Checkout •  Magic happens in a WebView – Payment flows uses redirects to enable

payment at PayPal’s site •  Uses your backend with Express Checkout – 3 API calls need to be implemented:

•  SetExpressCheckout – Set details •  GetExpressCheckoutDetails – Review the order •  DoExpressCheckoutPayment – Pay

19  

Page 20: mobilecamp Hamburg

Advantage •  Reuses existing implementations •  Most of the logic can be shared between

different platforms •  Mobile optimized – Automatic User-Agent check

•  Just a few steps

20  

Page 21: mobilecamp Hamburg

PayPal Access •  Utilize PayPal to login •  Uses OAuth 2.0 & OpenID •  Enables to speed up the process – No need to setup yet another account

•  Easy to implement – Just a few simple callbacks

21  

Page 22: mobilecamp Hamburg

22  

INNOVATION

Page 23: mobilecamp Hamburg

•  Host virtual goods with Dropbox •  Pay them with PayPal

23  Check sellboxhq.com for more information

Page 24: mobilecamp Hamburg

QRShopping

Page 25: mobilecamp Hamburg

• Kreditkarten • Check-ins

PayPal Here

Page 26: mobilecamp Hamburg

Useful links •  x.com/mobile – General overview •  paypal.com/dts – Developer Tech Support •  devportal.x.com – Application control •  developer.paypal.com – Sandbox

26  

Page 27: mobilecamp Hamburg

Help! Contact?

•  Twitter: – @PayPalEuroDev – @SeraAndroid

•  Mail: – [email protected]

27