PayPal 1.5.0

Suggested Alternatives

PayPalServerSDK

There is a newer version of this package available.
See the version list below for details.
dotnet add package PayPal --version 1.5.0                
NuGet\Install-Package PayPal -Version 1.5.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PayPal" Version="1.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PayPal --version 1.5.0                
#r "nuget: PayPal, 1.5.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PayPal as a Cake Addin
#addin nuget:?package=PayPal&version=1.5.0

// Install PayPal as a Cake Tool
#tool nuget:?package=PayPal&version=1.5.0                

ATTENTION: This package replaces the RestApiSDK package (restapisdk). You do not need to include the RestApiSdk package in your project if you are using this, the PayPal .NET SDK, package.

The PayPal REST API uses HTTP verbs and a RESTful endpoint structure. OAuth2.0 is used as the API Authorization framework. Request and response payloads are formatted as JSON.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 is compatible.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on PayPal:

Package Downloads
Kentico.Xperience.Libraries

The runtime assemblies for libraries and applications that use Kentico Xperience API.

Kentico.Libraries

The runtime assemblies for libraries and applications that use Kentico API.

fion.modelerp.core

ModelErp

OO.WebInfrastructure

Web application infrastructure types and implementations for EasyDataCore infrastructure

Microsoft.AspNet.WebHooks.Receivers.Paypal

This package provides support for receiving WebHooks from Paypal using the Paypal .NET SDK, see "https://www.nuget.org/packages/PayPal". For information about Paypal WebHooks, see "https://developer.paypal.com/webapps/developer/docs/integration/direct/rest-webhooks-overview/".

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on PayPal:

Repository Stars
nopSolutions/nopCommerce
ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
aspnet/AspNetWebHooks
Libraries to create and consume web hooks on ASP.NET 4.x (Due to other priorities this project is currently in maintenance mode only. There are no planned releases at this time. No new features are planned and we are only addressing critical issues as required.)
dimatrubca/book-exchange-app
ASP.NET Core Web API with React, Entity Framework, Elasticsearch, Paypal integration
Version Downloads Last updated
2.0.0-rc2 1,201,280 4/12/2018 2.0.0-rc2 is deprecated because it is no longer maintained.
2.0.0-rc1 3,221 2/9/2018 2.0.0-rc1 is deprecated because it is no longer maintained.
2.0.0-beta00 15,590 1/12/2018 2.0.0-beta00 is deprecated because it is no longer maintained.
1.9.1 2,113,807 10/23/2017 1.9.1 is deprecated because it is no longer maintained.
1.9.0 74,635 9/5/2017 1.9.0 is deprecated because it is no longer maintained.
1.8.0 1,384,561 11/3/2016 1.8.0 is deprecated because it is no longer maintained.
1.7.4 83,185 7/21/2016 1.7.4 is deprecated because it is no longer maintained.
1.7.3 112,075 2/25/2016 1.7.3 is deprecated because it is no longer maintained.
1.7.2 29,373 12/21/2015 1.7.2 is deprecated because it is no longer maintained.
1.7.1 18,835 12/1/2015 1.7.1 is deprecated because it is no longer maintained.
1.7.0 20,483 11/11/2015 1.7.0 is deprecated because it is no longer maintained.
1.6.0 10,389 9/25/2015 1.6.0 is deprecated because it is no longer maintained.
1.5.0 53,751 6/17/2015 1.5.0 is deprecated because it is no longer maintained.
1.4.4 6,544 6/2/2015 1.4.4 is deprecated because it is no longer maintained.
1.4.3 3,823 5/20/2015 1.4.3 is deprecated because it is no longer maintained.
1.4.2 4,721 4/29/2015 1.4.2 is deprecated because it is no longer maintained.
1.4.1 3,481 4/22/2015 1.4.1 is deprecated because it is no longer maintained.
1.4.0 39,815 2/27/2015 1.4.0 is deprecated because it is no longer maintained.
1.3.1 14,491 2/9/2015 1.3.1 is deprecated because it is no longer maintained.
1.3.0 6,079 1/29/2015 1.3.0 is deprecated because it is no longer maintained.
1.2.2 4,920 1/15/2015 1.2.2 is deprecated because it is no longer maintained.
1.2.1 3,923 1/6/2015 1.2.1 is deprecated because it is no longer maintained.
1.2.0 6,336 12/31/2014 1.2.0 is deprecated because it is no longer maintained.
1.1.0 52,294 12/15/2014 1.1.0 is deprecated because it is no longer maintained.
1.0.0 4,305 12/3/2014 1.0.0 is deprecated because it is no longer maintained.

PayPal .NET SDK release notes
=============================

## v1.5.0
* Add support for validating received webhook event notifications
* Fix issue #102: Add `PayPalLogger.Delimiter` key support in `<appSettings>` config section.
* Improved connection retry logic
* Improved unit and functional test coverage
* Marked certain PayPal-internal fields as obsolete

## v1.4.4
* Fix issue #101: Make `<accounts>` config section optional.  This section is included to maintain compatibility with the Classic SDKs.

## v1.4.3
* Fix issue #94: Null exception thrown when specifying an endpoint in the config without defining the mode
* Fix default state of APIContext so Config and Headers properties are null. Some callers rely on these properties being null by default.
* Minor code improvements related to providing more debug details about HTTP requests and responses
* Remove unused constants from BaseConstants class.
* Improve interface on SDK so internal-specific classes are now correctly marked as internal instead of public.

## v1.4.2
* Fix issue #89: Add `ResetRequestId()` method to `APIContext` class, which can be called to reset the request ID used for ensuring idempotency when making REST API calls.
* Improve XML documentation

## v1.4.1
* Fix Invoicing API support
* Add `JsonFormatter` deserialization error event support
* Improve compatibility with Classic SDKs
* Minor improvements to samples and tests

## v1.4.0
* `BaseLogger` is now public, allowing developers to add custom logger support
* Fix sample for creating and executing an order
* Update Payments API support with new classes and properties:
 * New Classes
   * `FmfDetails`
   * `Measurement`
 * New Properties
   * `Authorization.reason_code`
   * `Authorization.pending_reason`
   * `Authorization.fmf_details`
   * `BaseAddress.status`
   * `Capture.transaction_fee`
   * `CartBase.notify_url`
   * `CartBase.order_url`
   * `Error.purchase_unit_reference_id`
   * `Error.code`
   * `ErrorDetails.purchase_unit_reference_id`
   * `Item.weight`
   * `Item.length`
   * `Item.height`
   * `Item.width`
   * `ItemList.shipping_method`
   * `Order.reason_code`
   * `Order.fmf_details`
   * `Payer.account_type`
   * `Payer.account_age`
   * `PayerInfo.salutation`
   * `PayerInfo.middle_name`
   * `PayerInfo.suffix`
   * `PayerInfo.country_code`
   * `Payment.payee`
   * `Sale.recipient_fund_status`
   * `Sale.hold_reason`
   * `Sale.transaction_fee`
   * `Sale.receivable_amount`
   * `Sale.exchange_rate`
   * `Sale.fmf_details`
   * `Sale.receipt_id`
   * `Transaction.purchase_unit_reference_id`

## v1.3.1
* Add code workaround for `InvalidCastException` Mono bug #643379

## v1.3.0
* Add `PayoutItem.Cancel()` support
* Re-add Identity `Userinfo` support
* Add helper methods to `PayPalResourceObject` base class for HATEOAS links:
 * `GetHateoasLink()`
 * `GetApprovalUrl()`, with optional `setUserActionParameter` parameter for **Pay Now** feature
 * `GetTokenFromApprovalUrl()` (moved from `SDKUtil`)
* `Agreement.ListTransactions()` now requires `startDate` and `endDate`
* Deprecate `time_updated` property for `AgreementTransaction` and replace with `time_stamp`
* Numerous `FundingInstrument` properties marked as currently not supported and hidden from Intellisense view

## v1.2.2
* Add missing class properties for invoicing:
 * `BillingInfo.notification_channel`
 * `BillingInfo.phone`
 * `Invoice.additional_data`
 * `Metadata.payer_view_url`
* Log records missing object fields when deserializing JSON strings

## v1.2.1
* Fix `Sale.Refund()`
* Remove empty `Percentage` class

## v1.2.0
* Add Payouts support

## v1.1.0
* Add Webhooks support
* Add missing class properties
 * `Agreement.agreement_details`
 * `Agreement.state`
 * `CreditCard.payer_id`
* Add OAuthTokenCredential constructor that just takes config

## v1.0.0
* Integrated PayPal Core SDK
* Renamed projects and built assemblies
* Removed .NET 3.5 support
* Added .NET 4.5.1 support
* Built assemblies are now marked with AllowPartiallyTrustedCallers attribute
* Updated Invoice support
 * Fixed Invoice.Create
 * Fixed Invoice.Search
 * Added Invoice.QrCode
* Updated Credit Card support
 * Fixed CreditCard.Update
 * Added CreditCard.List
* Updated Samples project

## v0.11.0
* Added billing plans and agreements support

## v0.10.0
* Added payment experience support

## v0.9.0
* Added order support

## v0.8.0
* Added future payment support

## v0.7.8
* Fixed NuGet package dependency listing for PayPal Core

## v0.7.7
* Added Invoice API support.
* Added constructor for getting Payer ID.

## v0.7.6
* Fixed core reference.

## v0.7.5
* Updated new version of core SDK.

## v0.7.4
* Updated new version of core SDK.
* Added support for multiple target .NET frameworks.

## v0.7.3
* Added support for Reauthorization.

## v0.7.2
* Fixed bug for extended types in stubs #7.

## v0.7.1
* Bug fix release for "internal server error" issues in OAuth calls.

## v0.7.0
* Added support for Auth and Capture APIs
* Types Modified to match the API Spec

## v0.6.0
* Added support for dynamic configuration of SDK (Upgraded sdk-core-dotnet dependency to V1.3.0)
* Deprecated the setCredential method and changed resource class methods to take an ApiContext argument instead of an OauthTokenCredential argument

## v0.5.2
* Initial Release