User's Manual

Table Of Contents
Merchant User Manual and Integration Guide May, 2005 121
15
Testing
Website Payments, PDT, and IPN
The PayPal Sandbox can be used to test the following functionality.
IMPORTANT:The Sandbox does not process real money.
z Web Payments: Use the Sandbox to test accepting PayPal as a payment mechanism on a
website. For more information, see the PayPal website and online help center.
z Shopping Cart Purchases: Use the Sandbox for testing the purchase of multiple items in a
single transaction and making a single payment. For more information, see Chapter 6,
“Creating Shopping Cart Buttons.”
z Subscriptions: Use the Sandbox for creating and publishing test/prototype Web pages and
other content to which only paying members will have access. For more information, see
the PayPal Subscriptions manual, which is available on the PayPal website.
z Refunds: A PayPal user providing a refund of money paid by another participant in a
transaction.
z Instant Payment Notifications (IPNs): Use the Sandbox to test such IPNs as payments
and reversals. For more information on implementing IPNs to the PayPal site, see “Instant
Payment Notification (IPN) ” on page 103.
In the Sandbox environment, an additional variable (ipn_test) is sent with IPNs, with a
value of 1 (one). The purpose of this variable is to provide clear differentiation between test
and real IPNs. It also allows developers to modify existing scripts so that they are easily
able to work with either live or Sandbox IPNs.
IMPORTANT:IPNs coming from the Sandbox cannot be verified against the live PayPal
site, and IPNs coming from the live site cannot be verified against the
Sandbox.
z Payment Data Transfer (PDTs): Use the Sandbox to test using your identity token, return
URL, and PDT settings.
For more information about implementing PDT, see “Payment Data Transfer” on page 96.
z Simulated transactions, such as difficult scenarios like successful and failed eChecks.
In order to test feature functionality in the Sandbox, you must first create a Developer Central
account. This will allow you to create multiple PayPal accounts, such as Seller and multiple
Buyer accounts, to simulate different scenarios (unconfirmed, verified, international, and so
on).