2007

Table Of Contents
The ASP.NET SDK
Sample API User with API Certificate
116 April 2007 Name-Value Pair API Developer Guide and Reference
Sample API User with API Certificate
The samples come with an API digital certificate for use with the SDK and the PayPal
Sandbox. This certificate belongs to the following user:
IMPORTANT: You must protect the API Certificate values in your implementation.
Consider storing these values in a secure location other than your web server
document root and setting the file permissions so that only the system user
executing your ecommerce application can access it.
The sample code does not store these values securely. The sample code should never be
used in production.
Installing the Samples in IIS
N OTE: Be sure you are logged in as an administrator, IIS running, and
WinHttpCertCfg.exe is in your PATH.
To install the samples in Microsoft IIS:
1. Run
SDK_root\samples\ASPNET\InstallSample.bat.
2. To enable logging, change the permissions on the
localComputerName\ASPNET folder to
Full Control.
InstallSample.bat does the following:
Creates a virtual directory named PaypalASPNETSample in IIS that points to
SDK_root\samples\ASPNET.
Loads the sample API certificate
SDK_root\samples\Certs\sdk-seller.p12 into
the Microsoft Windows system store.
Uses the WinHttpCertCfg.exe command to grant unlimited access for account
Everyone to that certificate.
Running the Samples
To run the samples, in Internet Explorer, open http://localhost/PaypalASPNETSamples.
TABLE E.8 Details of the SDK Sample API Certificate
Location of Certificate
SDK_root\samples\Certs\sdk-seller.p12
API Username sdk-seller_api1.sdk.com
API Password 12345678
PKCS12 Passphrase password