17
WITH MOBILE PAYMENTS HOW TO NOT ANNOY PEOPLE July 2012 TIM MESSERSCHMIDT Developer Evangelist @SeraAndroid

Easy Mobile Payments

  • Upload
    paypal

  • View
    1.381

  • Download
    5

Embed Size (px)

DESCRIPTION

A talk from the Berlin Android Meet-up about "How to not annoy people with mobile payments". The talk shows the difficulties of implementing an own payment method and gives some useful suggestions how to ease that.

Citation preview

Page 1: Easy Mobile Payments

WITH MOBILE PAYMENTS HOW TO NOT ANNOY PEOPLE

July 2012

TIM MESSERSCHMIDT Developer Evangelist @SeraAndroid

Page 2: Easy Mobile Payments

1.  How payments do look like 2.  How to ease that..

2  

Content

Slides: http://bit.ly/LMWcgI

Page 3: Easy Mobile Payments

Payment scenario

3  

Sender Receiver

Transaction

Page 4: Easy Mobile Payments

4  

•  Get payment details from the user •  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 5: Easy Mobile Payments

Don’t let the user jump off..

5  

1.  Usability 2.  Feedback 3.  Quick response

Page 6: Easy Mobile Payments

6  

Don’t be shocked We’ve got solutions

Page 7: Easy Mobile Payments

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

7  

Page 8: Easy Mobile Payments

Code

8  

1. Initialize the library

Page 9: Easy Mobile Payments

Code

9  

2. Create a Payment

3. Let the library handle it..

Page 10: Easy Mobile Payments

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

10  

Page 11: Easy Mobile Payments

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

11  

Page 12: Easy Mobile Payments

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

different platforms •  Mobile optimized – Automatic User-Agent check

•  Just a few steps

12  

Page 13: Easy Mobile Payments

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

13  

Page 14: Easy Mobile Payments

14  

Use PayPal … we have cookies!

Page 15: Easy Mobile Payments

New technologies

15  

Page 16: Easy Mobile Payments

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

16  

Page 17: Easy Mobile Payments

Help! Contact?

•  Twitter: – @PayPalEuroDev – @SeraAndroid

•  Mail: – [email protected]

17