2007

Table Of Contents
Name-Value Pair API Developer Guide and Reference April 2007 111
The ASP.NET SDK
Installing the ASP.NET SDK
SDK Directories and Optional Configurations
The SDK components are organized into different subdirectories, as shown in Table E.3,
“PayPal SDK Directories and Contents.”
Optional Custom Configurations in Web.config
You can add optional custom settings to the Web.config file.
Adding PayPal Settings
First, add a <section name=”paypal”> tag, as shown below. The section must be enclosed
in <configSections> that comes immediately after the top-level <configuration> tag.
<configuration>
<configSections>
<section name=”paypal”
type=”com.paypal.sdk.core.ConfigSectionHandler, paypal_base”/>
<configSections>
The optional custom settings themselves are in a <paypal> block later in the file:
<paypal>
... custom settings ...
</paypal>
SDK Logging
The PayPal SDK uses log4net public domain logging software. For information about log4net,
see the log4net documentation at
http://logging.apache.org/log4net/release/manual/introduction.html.
This section describes SDK logging levels, in which configuration files you set the desired
level, and request logging.
TABLE E.3 PayPal SDK Directories and Contents
Directory Descrption
bin Compiled SDK DLLs
docs Ndoc class
documentation and SDK guide
samples\ASPNET Example code that use the SDK, in subdirectories
samples\cert sdk-seller.p12 API certificate for API user sdk-
seller_api1.sdk.com
src Visual Studio project files and SDK source files. This folder
is present only if you installed the source of the SDK.