mobilecamp hamburg
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
MOBILE PAYMENTS INNOVATION WITH
TIM MESSERSCHMIDT Developer Evangelist @SeraAndroid August 2012
1. How payments do look like 2. How to ease that 3. Payment Innovation 4. Help?!
2
Content
Slides: http://bit.ly/QnXcsl
Payment scenario
3
Buyer Seller
Transaction
Item / Service /
Virtual good
4
• Get transaction details • Shipping address • Receiver • Payment amount (costs) • Payment method
Payment scenario
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
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
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
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
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
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
11
Requirements:
12
Simplicity
Velocity
Safety
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
14
SOLUTIONS
Mobile Payments Library • Supports both Android and iOS • Based on our Adaptive Payments API • Supported payment types: – Simple – Parallel – Chained – Pre-approved
15
Code
16
1. Initialize the library
Code
17
2. Create a Payment
3. Let the library handle it..
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
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
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
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
22
INNOVATION
• Host virtual goods with Dropbox • Pay them with PayPal
23 Check sellboxhq.com for more information
QRShopping
• Kreditkarten • Check-ins
PayPal Here
Useful links • x.com/mobile – General overview • paypal.com/dts – Developer Tech Support • devportal.x.com – Application control • developer.paypal.com – Sandbox
26