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/
6. PAYPAL PAYMENT PRODUCTS
• Checkout (eCommerce)
• Website Payment Standard
• Website Payments Pro
• Express Checkout
• Mobile Payments
• Mobile Payments Library
• Mobile Express Checkout
• Platform (Payments Anywhere)
• Adaptive Payments
• Adaptive Accounts
• Gateway
• Payflow Link/Pro
6
7. PAYPAL FOR MOBILE
Two Integration Options
Mobile Payment Library (in-app)
Mobile Express Checkout
7
8. INTEGRATION OPTIONS - MPL
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
8
9. 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
11. INSTALLING THE PAYPAL MODULE
Two step process
Download the PayPal module from this URL
1 http://www.appcelerator.com/products/titaniumcommerce/
Extract the files under
2 /Library/Application Support/Titanium/modules
12. 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');
26. 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