Study Guide
Table Of Contents
- PayPal Certified Developer Program Study Guide
- Contents
- List of Tables
- Online Payment Processing
- Internet Security and Fraud Prevention
- Why Every Business Should Be Concerned About Internet Fraud
- Liability for Internet Fraud
- Internet Fraud: What It Is and How It Happens
- Who Is at Risk for Online Fraud
- Reducing Exposure to Fraud
- What Banks and Card Associations Are Doing to Prevent Online Credit Card Fraud
- What PayPal Is Doing to Protect Your Business Against Fraud
- Disclosure and Compliance
- PayPal Fraud Protection Services
- Review Questions
- Getting Started With Account Setup
- API Credentials
- Name-Value Pair (NVP) API
- Express Checkout
- Direct Payment API
- Transactions
- Sandbox Testing
- Answers to Review Questions
- General Reference Information
- Glossary
- Index
Sandbox Testing
Testing PayPal NVP APIs
9
126 March 2008 PayPal Certified Developer Program Study Guide
Testing Express Checkout
The following diagram shows the Express Checkout flow, which uses the Sandbox as the API
server. The pages on the left represent your site.
N OTE: For information about Express Checkout, see Express Checkout Integration Guide and
PayPal NVP API Developer Guide and Reference.
The following steps match the circled numbers in the diagram. To test Express Checkout,
perform the actions in each step.
1. Invoke a form on your site that calls the SetExpressCheckout API on the Sandbox. To
invoke the API, set form fields whose names match the NVP names of the fields you want
to set, specify their corresponding values, then post the form to
https://api-3t.sandbox.paypal.com/nvp, as shown below:
<form method=post action=https://api-3t.sandbox.paypal.com/nvp>
<input type=hidden name=USER value= API_username>
<input type=hidden name=PWD value= API_password>
<input type=hidden name=SIGNATURE value= API_signature>
<input type=hidden name=VERSION value=3.3>
<input type=hidden name=PAYMENTACTION value=Authorization>
<input name=AMT value=19.95>