Mobile payments with PayPal

Preview:

DESCRIPTION

This presentation was used to show how to integrate PayPal payments into Appcelerator based Titanium mobile applications. The presentation was delivered at Hacker Dojo in Mountain View as part of Bay Area Mobile meetup. Link : http://www.meetup.com/BayAreaMobile/events/15272339/

Citation preview

Mobile Payments with Titanium

Srikanth Nandiraju Sr.MTS, PayPal Labs

AGENDA

• What is PayPalX ?

• What PayPal provides ?

• PayPal Payments in Titanium

• App Development cycle

• Q & A

2

3

WHAT IS PAYPAL API ?

OPEN GLOBAL PAYMENT PLATFORM

24 Currencies190 Countries

Flexible Services and APIs Serves Consumers, Merchants/Sellers & Developers!

Facilitates Payments Pay and receive from anyone, anywhere!

Provides Account Management Identity, Permissions, Accounts

Tools for Information and Reporting Notifications, Reporting, Search

Risk and Fraud Management

PAYPAL PAYMENT PRODUCTS

5

• Checkout (eCommerce)

• Mobile Payments

• Platform (Payments Anywhere)

• Gateway

PAYPAL PAYMENT PRODUCTS

6

• Checkout (eCommerce)

• Mobile Payments

• Platform (Payments Anywhere)

• Gateway

• Website Payment Standard• Website Payments Pro• Express Checkout

• Mobile Payments Library• Mobile Express Checkout

• Adaptive Payments• Adaptive Accounts

• Payflow Link/Pro

PAYPAL FOR MOBILE

Two Integration Options

7

Mobile Payment Library (in-app)

Mobile Express Checkout

INTEGRATION OPTIONS - MPL

8

Mobile Payment Library (in-app)

– Completely in-application payments– Include the Library in your code– Library contains all UI screens and communication with PayPal APIs– Android OS 1.5 and above– iPhone and iPad

INTEGRATION OPTIONS - MEC

Mobile Express Checkout (Beta)

– Mobile Browser based checkout (WebKit)– For mobile browser optimised sites or launch browser from app– Uses Existing Express Checkout APIs with User Agent Detection– Guest Checkout (Coming Soon)– Android OS 2.0 and above– iPhone

9

MOBILE PAYMENT WITH TITANIUM

INSTALLING THE PAYPAL MODULE

Two step process

Download the PayPal module from this URL

http://www.appcelerator.com/products/titaniumcommerce/

Extract the files under

/Library/Application Support/Titanium/modules

1

2

INTEGRATING THE PAYPAL PAYMENTS

Edit Ti.xml

<modules> <module version=1.0>ti.paypal</module></modules>

Import the module into your project files

Titanium.Paypal = require('ti.paypal');

13

13

13

13

13

13

APPLICATION DEVELOPMENT CYCLE

14

APPLICATION DEVELOPMENT CYCLE

15

APPLICATION DEVELOPMENT CYCLE

15

APPLICATION DEVELOPMENT CYCLE

15

APPLICATION DEVELOPMENT CYCLE

15

APPLICATION DEVELOPMENT CYCLE

15

APPLICATION DEVELOPMENT CYCLE

15

HELPFUL HINTS

1.Visit Apps 101 – Everything you need to know about the

submission process

2.Understand the PayPal Developer Agreement to know what

is and is not allowed before you begin coding

3.Be as descriptive as possible when relating:

• What your application does

• Your application payment flow

• Who all the players (senders and receivers) are in the payment

flow

4. Contact Developer Technical Services (DTS) if you have any

technical questions via www.paypal.com/dts

Recommended