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

There is a newer version of this package available.
See the version list below for details.
Install-Package PayPal -Version 1.4.0
dotnet add package PayPal --version 1.4.0
<PackageReference Include="PayPal" Version="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PayPal --version 1.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

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

Showing the top 1 GitHub repositories that depend on PayPal:

Repository Stars
nopSolutions/nopCommerce
The most popular open source ecommerce shopping cart solution based on ASP.NET Core

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
2.0.0-rc2 164,799 4/12/2018
2.0.0-rc1 1,707 2/9/2018
2.0.0-beta00 3,578 1/12/2018
1.9.1 404,925 10/23/2017
1.9.0 36,485 9/5/2017
1.8.0 253,254 11/3/2016
1.7.4 40,039 7/21/2016
1.7.3 70,449 2/25/2016
1.7.2 16,821 12/21/2015
1.7.1 12,984 12/1/2015
1.7.0 4,889 11/11/2015
1.6.0 5,594 9/25/2015
1.5.0 28,131 6/17/2015
1.4.4 2,161 6/2/2015
1.4.3 1,937 5/20/2015
1.4.2 2,415 4/29/2015
1.4.1 1,390 4/22/2015
1.4.0 21,321 2/27/2015
1.3.1 9,455 2/9/2015
1.3.0 3,892 1/29/2015
1.2.2 2,729 1/15/2015
1.2.1 1,690 1/6/2015
1.2.0 1,585 12/31/2014
1.1.0 4,941 12/15/2014
1.0.0 1,528 12/3/2014
Show less