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 Website Features
9
120 March 2008 PayPal Certified Developer Program Study Guide
Handling Pending Transactions
Transactions typically are credited to your PayPal account instantly after the buyer completes
the transaction; however, a buyer might select a payment method that is not completed
instantly. In these cases, the transaction goes into a pending state, and the transaction is
completed after a couple of days. The following sections describe how to set up pending-status
transactions that can be either completed or canceled.
Creating a Pending Transaction
1. Log in to https://developer.paypal.com, click the Test Accounts tab, select a buyer
(personal or premier) test account, and click Enter Sandbox Test Site.
2. Log in to your test buyer account and create a transaction, such as one created using a Buy
Now button or by passing parameters in the URL, as in the following example:
https://www.sandbox.paypal.com/
us/cgi-bin/webscr?cmd=_xclick&business=seller@domain.com
3. On the Review Purchase Page, click on the Change link under funding method.
4. Select eCheck as the funding method, and click Continue.
5. Click Pay to create the transaction.
To verify the creation of the transaction, see “Verifying a Test Payment” on page 119.
Completing or Canceling a Pending Transaction
1. In the buyer’s transactions log, click the Details link (in the Details column).
2. In the Transaction Detail window (shown below), there are two links to simulate actual
bank clearing. These links appear only in the Sandbox, as shown below:
– Clear Transaction — Click to complete the transaction.
– Fail Transaction — Click to cancel the transaction.