Study Guide

Table Of Contents
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 buyers 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.