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
 
 
PayPal Certified Developer Program Study Guide March 2008 133
Sandbox Testing
Testing Error Conditions
9
Negative Testing Using a Non-Amount Trigger Field
The following example sets up testing for error 10603 for DoVoid, in which the error code is 
specified in the AUTHORIZATIONID field:
METHOD=DoVoid&
AUTHORIZATIONID=10603&
VERSION=3.3&
USER=username&
PWD=password&
SIGNATURE=signature
The request invokes the following response:
TIMESTAMP=2007%2d04%2d04T03%3a10%3a22Z&
CORRELATIONID=51b0c5054dee6&
ACK=Failure&
L_ERRORCODE0=10603&
L_SHORTMESSAGE0=The%20buyer%20is%20restricted%2e&
L_LONGMESSAGE0=The%20buyer%20account%20is%20restricted%2e&
L_SEVERITYCODE0=Error
&VERSION=3%3e400000&
BUILD=1%2e0006 
Negative Testing With Multiple Messages
The following example sets up testing for error 10009 for RefundTransaction, which 
returns 14 possible error message sets:
METHOD=RefundTransaction&
TRANSACTIONID=asdf&
REFUNDTYPE=Partial&
AMT=100.09&
VERSION=3.3&
USER=username&
PWD=password&
SIGNATURE=signature
The request invokes the following response:










