Home
.NET Class Library for PayPal NVP API

Encore Systems .NET* Class Library for PayPal NVP API

The Encore PayPal Class Library is designed to simplify development of ASP.NET websites and .NET Windows forms applications using the PayPal NVP (Name-Value Pair) API.  Features include:
  • The class library has no elevated trust requirements on the server.  This allows use in a hosted environment.
  • Each API call is encapsulated in its own .NET object.  Just add a the required name-value pair parameters and call the Post() function. The request is posted securely, server-to-server using .NET HttpWebRequest and HttpWebResponse classes.
  • The class library defines data objects for all PayPal enumeration types allowing simple population of DropDownLists.  Includes States, Countries, Currencies, PaymentActions, CreditCardTypes, etc.
  • Each API call has it own set of parameter name constants to help avoid typos and misspellings.  Each parameter name has complete Visual Studio Intellisense showing its usage, limitations, possible values, etc.
  • Work with the API call parameters the way you prefer.  Parameters can be manipulated as separate Name and Value strings, as Parameter objects, as NameValueCollection objects, or as Generic Lists of Parameter objects.
  • The class library includes pre-defined objects for Payment Line Items, Billing Agreement Items, and Mass Pay Items.  No need to number these parameters; just build up a list of item objects and add it to the parameter collection.  Parameter numbering is automatic.
  • All authentication credentials such as Username, Password, and Signature, as well as API URLs, API Version, Environment, etc. can be globally defaulted in the Web.Config file.
  • Defaults to 3-token signature authentication for simple credential manipulation.
  • If you prefer SSL certificate authentication, the class library completely simplifies this with automatic .p12 certificate decryption -- just supply a path to the certificate file and the key password.  No need to install the certificate in the server's keystore.  Perfect for servers hosted by a third party.
  • API Credentials delegate property -- if you have a class member function that returns API credentials, just set this property to that function's name.
  • Complete diagnostic tool in Visual Studio template form with documented source code showing every possible API call.  Try any possible combination of parameters on API calls to see what PayPal's response is.  Copy and paste the examples to get a quick start on your application.
  • Automatic parameter string builder.  The diagnostic tool allows you to select parameter values in a web form and produce the required API request string with the click of a button.
  • New in Version 2.1: 
    • Now supports all PayPal API calls as of Version 53.0, including new features such as displaying order details in Express Checkout.
    • New API Credential Encryption.  Includes a utility to encrypt API credentials so they can be safely stored in web.config, etc.
*For .NET 2.0 or higher.
Prefer the SOAP API?