Study Guide

Table Of Contents
Sandbox Testing
Testing PayPal NVP APIs
9
126 March 2008 PayPal Certified Developer Program Study Guide
Testing Express Checkout
The following diagram shows the Express Checkout flow, which uses the Sandbox as the API
server. The pages on the left represent your site.
N OTE: For information about Express Checkout, see Express Checkout Integration Guide and
PayPal NVP API Developer Guide and Reference.
The following steps match the circled numbers in the diagram. To test Express Checkout,
perform the actions in each step.
1. Invoke a form on your site that calls the SetExpressCheckout API on the Sandbox. To
invoke the API, set form fields whose names match the NVP names of the fields you want
to set, specify their corresponding values, then post the form to
https://api-3t.sandbox.paypal.com/nvp, as shown below:
<form method=post action=https://api-3t.sandbox.paypal.com/nvp>
<input type=hidden name=USER value= API_username>
<input type=hidden name=PWD value= API_password>
<input type=hidden name=SIGNATURE value= API_signature>
<input type=hidden name=VERSION value=3.3>
<input type=hidden name=PAYMENTACTION value=Authorization>
<input name=AMT value=19.95>