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
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.