Synopses & Reviews
If your web applications success depends on how quickly and easily users can make transactions, PayPal APIs provide effective solutions you cant afford to overlook. This concise book takes you hands-on through several options to help you determine the best choice for your situation, whether youre collecting money via websites or mobile apps for products and services, donations, or anything else.
In each chapter, youll work with a different PayPal API by integrating it into the books sample application, using Python and the Google App Engine framework. This expanded edition introduces two new options: Express Checkout for Digital Goods and Instant Payment Notifications, complete with sample project code. By the end of this book, youll understand how to take full advantage of PayPal and its powerful features.
- Learn PayPal API basics, and get an introduction to Google App Engine
- Explore the Express Checkout option, and understand what distinguishes it from other generic workflows
- Tailor Express Checkout for electronic documents, videos, and other “in app” digital purchases
- Apply the Adaptive Payments option for transactions that involve multiple recipients
- Embed the payment process into your site with no mention of PayPal, using Website Payments Pro
- Use the Instant Payment Notifications you receive as triggers to take follow-up action
About the Author
Matthew Russell, Chief Technology Officer at Digital Reasoning, Principal at Zaffra, and author of several books on technology including Mining the Social Web (O'Reilly, 2013), now in its second edition. He is passionate about open source software development, data mining, and creating technology to amplify human intelligence. Matthew studied computer science and jumped out of airplanes at the United States Air Force Academy. When not solving hard problems, he enjoys practicing Bikram Hot Yoga, CrossFitting and participating in triathlons.
Table of Contents
Preface; Notes About the Second Edition; Intended Audience; How This Book Is Organized; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Chapter 1: PayPal API Overview; 1.1 Overview of PayPal API Requests; 1.2 Google App Engine Primer; 1.3 Making PayPal API Requests with App Engine; 1.4 Recommended Exercises; Chapter 2: Express Checkout (Including Mobile Express Checkout); 2.1 Checkout Process Workflows; 2.2 Express Checkout Flow; 2.3 PayPal Express Checkout API Operations; 2.4 Implementing a Checkout Experience for Tweet Relevance; 2.5 Mobile Express Checkout (MEC); 2.6 Recommended Exercises; Chapter 3: Express Checkout for Digital Goods; 3.1 Everyone Wins with Digital Goods Transactions; 3.2 Implementing a Digital Goods Checkout for Tweet Relevance; 3.3 Recommended Exercises; Chapter 4: Adaptive Payments (Simple, Parallel, and Chained Payments); 4.1 Overview of Adaptive Payments; 4.2 Common Adaptive Payment Workflows; 4.3 Payment Approval and Payment Flows; 4.4 The Pay and PaymentDetails APIs; 4.5 Integrating a "Simple" Adaptive Payment into Tweet Relevance; 4.6 There's a Lot More; 4.7 Recommended Exercises; Chapter 5: Website Payments Pro (Direct Payment); 5.1 Overview of Direct Payment; 5.2 PayPal Direct Payment API Operations; 5.3 Implementing DoDirectPayment; 5.4 Integrating DoDirectPayment and Tweet Relevance; 5.5 Recommended Exercises; Chapter 6: Instant Payment Notifications (IPNs); 6.1 Overview of IPNs; 6.2 Integrating IPNs Into Tweet Relevance; 6.3 Recommended Exercises; Overview of Tweet Relevance; Understanding Tweet Relevance's AppHandler; Recommended Exercises; Mobile Payment Libraries (MPLs); Overview; Should I Use MPLs or Mobile Express Checkout (MEC)?; Recommended Exercises;