If your web application’s success depends on how quickly and easily users can make transactions, PayPal APIs provide effective solutions you can’t afford to overlook. This concise book takes you hands-on through several options to help you determine the best choice for your situation, whether you’re collecting money via websites or mobile apps for products and services, donations, or anything else.
In each chapter, you’ll work with a different PayPal API by integrating it into the book’s 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, you’ll 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
Chapter 1 PayPal API Overview
Overview of PayPal API Requests
Google App Engine Primer
Making PayPal API Requests with App Engine
Chapter 2 Express Checkout (Including Mobile Express Checkout)
Checkout Process Workflows
Express Checkout Flow
PayPal Express Checkout API Operations
Implementing a Checkout Experience for Tweet Relevance
Mobile Express Checkout (MEC)
Chapter 3 Express Checkout for Digital Goods
Everyone Wins with Digital Goods Transactions
Implementing a Digital Goods Checkout for Tweet Relevance
Chapter 4 Adaptive Payments (Simple, Parallel, and Chained Payments)
Overview of Adaptive Payments
Common Adaptive Payment Workflows
Payment Approval and Payment Flows
The Pay and PaymentDetails APIs
Integrating a “Simple” Adaptive Payment into Tweet Relevance
There’s a Lot More
Chapter 5 Website Payments Pro (Direct Payment)
Overview of Direct Payment
PayPal Direct Payment API Operations
Integrating DoDirectPayment and Tweet Relevance
Chapter 6 Instant Payment Notifications (IPNs)
Overview of IPNs
Integrating IPNs Into Tweet Relevance
Appendix Overview of Tweet Relevance
Understanding Tweet Relevance’s AppHandler
Appendix Mobile Payment Libraries (MPLs)
Should I Use MPLs or Mobile Express Checkout (MEC)?
Matthew Russell, Vice President of Engineering at Digital Reasoning Systems (http://www.digitalreasoning.com/) and Principal at Zaffra (http://zaffra.com), is a computer scientist who is passionate about data mining, open source, and web application technologies. He’s also the author of Dojo: The Definitive Guide (O’Reilly).
Comments about oreilly PayPal APIs: Up and Running, 2nd Edition:
Upshot: A worthy upgrade to the first edition, this time not PHP but enumerated in Python. Does a good job of plotting & describing PayPal's increasingly byzantine "workflows" to bop payments back and forth.
Coming from a different author than the initial edition, PayPal APIs: Up & Running 2nd Edition came as a bit of a surprise to me. Whereas the 1st ed used PHP & Objective-C, this new edition instead uses Python (with as little dependencies as possible) as well as Google App Engine.
Much of the same workflows are plotted out/flow-charted out, with some of the same charts as the first edition. The sample code, however, is not a static archive — it's been moved to a Github repository with the proviso that it will change as PayPal changes their APIs. This is a good thing!
Disclosure: I received the eBook download(s) from O'Reilly for review purposes.
Bottom Line Yes, I would recommend this to a friend