2007
Table Of Contents
- Name-Value Pair API Reference for Germany
- Preface
- Overview
- Accepting PayPal in Express Checkout
- Basic Checkout with PayPal
- Support giropay and electronic funds transfer
- Controlling the Shipping Address Using SetExpressCheckout
- Changing the Language on the PayPal Login Page Using SetExpressCheckout
- Changing the Logo on the PayPal Pages Using SetExpressCheckout
- Form-Filling Your Payment Review Page Using GetExpressCheckoutDetails
- Making a Sale Using DoExpressCheckoutPayment
- Changing the URL for IPN Using DoExpressCheckoutPayment
- Including Line Item Details Using DoExpressCheckoutPayment
- Including Subtotals Using DoExpressCheckoutPayment
- Updating Order Details Using DoExpressCheckoutPayment
- Updating the Shipping Address Using DoExpressCheckoutPayment
- Back-Office Administration
- NVP API Method and Field Reference
- Error Message Reference
- NVP API Web Samples
- The Java SDK
- The ASP.NET SDK
- Country Codes
- Index
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