Online Book Reader

Home Category

PayPal APIs_ Up and Running_ A Developer's Guide - Michael Balderas [51]

By Root 178 0
wildcat can be found throughout sub-Saharan Africa, and another African subspecies (F. s. lybica) ranges through northern Africa and the Middle East. These animals live in a variety of habitats, such as grasslands and forests. They primarily hunt at night, catching mice and other small mammals, as well as birds, reptiles, and amphibians if the opportunity arises. During the day, they rest in concealed places like old burrows or thick vegetation.

Unsurprisingly, wildcats share many behaviors with domestic felines, such as burying their droppings and vocalizing with purrs, yowls, meows, and hisses. Their genetic similarities may pose a threat to the African wildcat, however; in areas where there is a wildcat population living near human settlements, it is common for wild and domestic cats to interbreed. It is now difficult to find purebred African wildcats anywhere near civilization, which may not bode well for it remaining a unique species.

The cover image is from Lydekker’s Royal Natural History. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont’s TheSansMonoCondensed.

Table of Contents

PayPal APIs: Up and Running

Preface

Goals of This Book

Who Should Read This Book

How This Book Is Organized

Conventions Used in This Book

Using Code Examples

Safari® Books Online

How to Contact Us

1. The PayPal API

Overview of the PayPal API

Getting Started

Direct Versus SDK Integration

Testing Versus Live Implementation

Obtaining API Credentials

Creating an API Signature

Creating a Name-Value Pair (NVP) Request

URL encoding

Request format

Putting it together

Parsing an NVP Response

URL decoding

Response format

Putting it together

2. PayPal Express Checkout

Checkout Process Workflows

Generic Checkout Workflow

Express Checkout Workflow

Generic Versus Express Checkout Workflow

Express Checkout Flow

PayPal Express Checkout API Operations

SetExpressCheckout

GetExpressCheckoutDetails

DoExpressCheckoutPayment

Callback

Simple Express Checkout Integration

Setting Up the Transaction

Express Checkout Integration

3. PayPal Website Payments Pro

Overview of Direct Payment

Direct Payment Workflow

PayPal Direct Payment API Operations

Simple Direct Payment Integration

Direct Payment Integrations

4. PayPal Adaptive Payments

Overview of Adaptive Payments

PayPal Adaptive Payments API Operations Overview

Adaptive Payments Permission Levels

Adaptive Payments Application Workflows

Payment Approval and Payment Flows

Explicit Payments

Preapproved Payments

Implicit Payments

Guest Payments

Adaptive Payments API Operations in Depth

Pay API Operation

SetPaymentOptions API Operation

displayOptions

initiatingEntity

requestEnvelope

ResponseEnvelope

ExecutePayment API Operation

Adaptive Payments Integration

5. PayPal Mobile Express Checkout

Mobile Express Checkout Flow

Mobile Express Checkout Best Practices

Mobile Express Checkout Library for iOS

MEC Mobile Application Integration

MEC Mobile Website Integration

MEC Library Methods

fetchDeviceReferenceTokenWithAppID method

getPayButtonWithTarget method

getInstance method

MEC Localization Support

Sample MEC Code

Summary

Index

About the Author

Colophon

Return Main Page Previous Page

®Online Book Reader