2012
Table Of Contents
- Sandbox User Guide
- Contents
- Preface
- Overview to the PayPal Sandbox
- Accessing the PayPal Sandbox
- Setting Up Test Accounts
- Testing PayPal Website Features
- Testing an Express Checkout Integration
- Sandbox Test Tools
- Testing Error Conditions
- Testing Payment Review
- Technical Support
- Revision History
Testing PayPal Website Features
Website Payments with Buy Now Button
4
28 April 2012 Sandbox User Guide
IMPORTANT: You must change the form action to redirect to the Sandbox, using the
following URL: https://www.sandbox.paypal.com/cgi-
bin/webscr" method="post"
Use the PayPal Help link to answer related questions, such as “How do I make a Buy Now
Button compatible with the Shopping Cart feature?” For general information, see
https://www.paypal.com/pdn-item. For general information about shopping cart purchases,
see
https://www.paypal.com/shoppingcart. For general information about subscriptions, see
https://www.paypal.com/pdn-recurring.
Encrypted Website Payments
The Sandbox also supports Encrypted Website Payments (EWP), as does the PayPal SDK
console.
For information about what EWP is and how to use it, see the
Paypal Payments Standard
Integration Guide.
Testing Payments with Buy Now Button
For the purposes of testing the Buy Now button, your web page does not need to be published
to your web server. It can reside on your local hard drive. However, you do need to be logged
in to the Sandbox.
1. Log in to
https://developer.paypal.com, click the Test Accounts tab, select the desired test
account, and click Enter Sandbox Test Site.
2. Open the HTML file containing the Buy Now Button.
3. Click the Buy Now Button.
4. Log in using your test buyer account.
5. Follow the on-screen instructions to complete your test payment.
Verifying a Test Payment
1. Log in to https://developer.paypal.com and click the Test Email tab.
Your Sandbox inbox shows payment confirmation email messages for the seller and buyer.
2. To further verify that the payment was successful:
– Check your web server for IPN notifications related to the payment.
– Launch the Sandbox as your test buyer or seller account and navigate to My Account >
Overview to see the transaction in your Recent Activity.