Braintree 2.30.1

Braintree Client Library

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

Release Notes

## 2.30.1

* Make webhook parsing more robust with newlines
* Add messages to InvalidSignature exceptions

## 2.30.0

* Include Dispute information on Transaction
* Search for Transactions disputed on a certain date

## 2.29.1

* Properly expose SsnLastFour for merchant accounts

## 2.29.0

* Disbursement Webhooks

## 2.28.1
* Allow a service fee of 0 in transaction create.
* Expose current billing cycle on add ons and discounts.
* Accept billing address id in transaction create.

## 2.28.0
* Merchant account find API

## 2.27.0
* Merchant account update API
* Merchant account create API v2

## 2.26.1
* Use new Braintree Gateway API endpoints

## 2.26.0
* Adds support for Partnerships

## 2.25.4

* Add unrecognized to enumerables, fraud to GatewayRejectionReason

## 2.25.3

* Fixed typo with DeviceData.

## 2.25.2

* Fixed typo in MerchantAccount.

## 2.25.0

* Adds HoldInEscrow method
* Add error codes for verification not supported error
* Add CompanyName and TaxId to merchant account create
* Adds CancelRelease method
* Adds ReleaseFromEscrow functionality
* Adds Phone to applicant details.
* Adds merchant account phone error code.

## 2.24.1

* Expose image_url attribute on credit cards

## 2.24.0

* Adds device data to transactions, customers, and credit cards.

## 2.23.1

* Set .NET Framework compatibility back to 2.0+

## 2.23.0

* Adds disbursement details to transactions.
* Adds image url to transactions.

## 2.22.0

* Adds Venmo Touch support.

## 2.21.0

* Fixes bug with zero dollar subscriptions.

## 2.20.0

* Adds channel field to transactions.

## 2.19.0

* Adds country of issuance and issuing bank

## 2.18.0

* Add verification search

## 2.17.0

* Additional card information, such as prepaid, debit, commercial, Durbin regulated, healthcare, and payroll, are returned on credit card responses
* Allows transactions to be specified as recurring

## 2.16.0

* Add prepaid attribute to credit card (possible values include Yes, No, Unknown)

## 2.15.1

* Fix warnings for Visual Studio

## 2.15.0

* Adds webhook gateways for parsing, verifying, and testing incoming notifications

## 2.14.0

* Adds search for duplicate credit cards given a payment method token
* Adds flag to fail saving credit card to vault if card is duplicate
* Changes `internal` functions to `protected internal` functions for easier unit testing

## 2.13.4

* Exposes plan_id on transactions

## 2.13.3

* Fixed Date parsing for hosts ahead of UTC (thanks to Jasmin Muharemovic)

## 2.13.2

* Added error code for invalid purchase order number

## 2.13.1

* Added error message for merchant accounts that do not support refunds

## 2.13.0

* Added ability to retrieve all Plans, Addons, and Discounts
* Added Transaction cloning

## 2.12.0

* Added SettlementBatchSummary

## 2.11.0

* Added Subscription to Transaction
* Added flag to store in vault only when a transaction is successful
* Added new error code

## 2.10.0

* Added a new transaction state, AUTHORIZATION_EXPIRED.
* Enabled searching by AuthorizationExpiredAt.

## 2.9.0

* Added NextBillingDate and TransactionId to subscription search
* Added AddressCountryName to customer search
* Added new error codes

## 2.8.0

* Added Customer search
* Added dynamic descriptors to Subscriptions and Transactions
* Added level 2 fields to Transactions:
 * TaxAmount
 * TaxExempt
 * PurchaseOrderNumber

## 2.7.2
* Added BillingAddressId to CreditCardRequest
* Allow searching on Subscriptions that are currently in a trial period using InTrialPeriod

## 2.7.1
* Added support for non-US cultures.  Decimal values are now correctly formatted for the gateway and parsed for the client.

## 2.7.0

* Added ability to perform multiple partial refunds on Transactions
* Added RevertSubscriptionOnProrationFailure flag to Subscription update that specifies how a Subscription should react to a failed proration charge
* Deprecated Transaction RefundId in favor of RefundIds
* Deprecated Subscription NextBillAmount in favor of NextBillingPeriodAmount
* Added new properties to Subscription:
 * Balance
 * PaidThroughDate
 * NextBillingPeriodAmount

## 2.6.0

* Added AddOns/Discounts
* Enhanced Subscription search
* Enhanced Transaction search
* Made gateway operations threadsafe when using multiple configurations
* Added VerificationStatus Enumeration
* Added EXPIRED and PENDING statuses to Subscription
* Allowed ProrateCharges to be specified on Subscription update
* Added AddOn/Discount details to Transactions that were created from a Subscription
* All Braintree Exceptions now inherit from BraintreeException superclass
* Added new properties to Subscription:
 * BillingDayOfMonth
 * DaysPastDue
 * FirstBillingDate
 * NeverExpires
 * NumberOfBillingCycles

## 2.5.1

* Updated the Environment class to lazily use environment variables -- this enables use when access to environment variables is restricted

## 2.5.0

* Added ability to specify Country using CountryName, CountryCodeAlpha2, CountryCodeAlpha3, or CountryCodeNumeric
* Added GatewayRejectionReason to Transaction and Verification
* Added Message to Result
* Added BuildTrData method to TransparentRedirectGateway

## 2.4.0

* Added unified TransparentRedirect url and confirm methods and deprecated old methods
* Renamed CreditCard.Default to IsDefault
* Added methods to CreditCardGateway to allow searching on expiring and expired credit cards
* Added ability to update a customer, credit card, and billing address in one request
* Allow updating the payment method token on a subscription
* Added methods to navigate between a Transaction and its refund (in both directions)

## 2.3.0

* Return AvsErrorResponseCode, AvsPostalCodeResponseCode, AvsStreetAddressResponseCode, CurrencyIsoCode, CvvResponseCode with Transaction
* Return CreatedAt, UpdatedAt with Address
* Allow verification against a specified merchant account when creating or updating a CreditCard
* Return SubscriptionId with Transaction

## 2.2.0

* Prevent race condition when pulling back collection results -- search results represent the state of the data at the time the query was run
* Rename ResourceCollection's ApproximateCount to MaximumCount because items that no longer match the query will not be returned in the result set
* Correctly handle HTTP error 426 (Upgrade Required) -- the error code is returned when your client library version is no longer compatible with the gateway
* Properly handle Transaction Options in TR Data

## 2.1.0

* Added transaction advanced search
* Added ability to partially refund transactions
* Added ability to manually retry past-due subscriptions
* Added new transaction error codes
* Allow merchant account to be specified when creating transactions
* Allow creating a transaction with a vault customer and new credit card
* Allow existing billing address to be updated when updating credit card
* **Backwards incomaptible change**: CreditCardRequest.BillingAddress has changed from type AddressRequest to CreditCardAddressRequest

## 2.0.0

* Updated IsSuccess() on transaction results to return false on declined transactions
* Search results now implement IEnumerable and will automatically paginate data

## 1.2.1

* Escape all XML
* Updated quick start example in README

## 1.2.0

* Added subscription search
* Return associated subscriptions when finding credit cards
* Added option to change default credit card for a customer
* Added an All method to ValidationErrors to return List of all errors at that level
* Added a DeepAll method to ValidationErrors to return List of all errors at that level and all errors below
* Renamed DeepSize() to DeepCount
* Added ProcessorAuthorizationCode to Transaction
* Allow setting MerchantAccountId when creating or updating subscriptions
* Updated ForObject to return an empty ValidationErrors object instead of null if there are no errors
* Raise down for maintenance exception instead of forged query string when down for maintenance
* Fixed bug in TotalPages if there are zero total items

Dependencies

This package has no dependencies.

Showing the top 3 GitHub repositories that depend on Braintree:

Repository Stars
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
simplcommerce/SimplCommerce
A simple, cross platform, modularized ecommerce system built on .NET Core
grandnode/grandnode
Free and Open Source Ecommerce Shopping Cart solution based on ASP.NET CORE and MongoDB

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
4.16.0 34,657 10/1/2019
4.15.0 25,744 8/12/2019
4.14.0 7,843 7/30/2019
4.13.0 413 7/29/2019
4.12.0 23,703 6/6/2019
4.11.0 36,977 4/2/2019
4.10.1 97,990 3/28/2019
4.9.0 49,653 1/28/2019
4.8.0 25,158 12/13/2018
4.7.0 21,302 11/3/2018
4.6.0 18,485 10/11/2018
4.5.0 41,891 7/26/2018
4.4.0 34,994 5/22/2018
4.3.0 1,975 5/17/2018
4.2.0 8,783 4/30/2018
4.1.1 9,827 4/11/2018
4.1.0 19,387 4/5/2018
4.0.0 9,523 3/23/2018
3.14.0 1,234 3/21/2018
3.13.0 7,757 3/13/2018
3.12.0 14,218 2/9/2018
3.10.1 16,582 12/14/2017
3.10.0 20,914 11/17/2017
3.9.0 33,565 9/14/2017
3.8.0 130,541 5/11/2017
3.7.0 30,335 4/19/2017
3.6.0 14,768 3/16/2017
3.5.0 28,108 1/23/2017
3.4.0 19,516 1/5/2017
3.3.0 64,547 12/2/2016
3.2.1 6,716 11/16/2016
3.1.0 3,153 11/10/2016
3.0.1 16,577 9/8/2016
2.65.0 23,721 9/1/2016
2.64.0 5,729 8/1/2016
2.63.0 5,715 7/19/2016
2.62.0 699 7/15/2016
2.61.0 6,310 6/24/2016
2.60.0 6,172 5/24/2016
2.59.0 5,013 5/11/2016
2.58.0 9,701 4/27/2016
2.57.0 2,655 4/19/2016
2.56.0 4,631 3/21/2016
2.55.0 7,742 2/25/2016
2.54.0 8,983 2/9/2016
2.53.0 7,809 1/14/2016
2.52.0 10,496 11/24/2015
2.51.0 5,914 10/28/2015
2.50.0 10,052 9/21/2015
2.49.0 9,010 9/1/2015
2.48.0 2,866 8/28/2015
2.47.0 1,440 8/19/2015
2.46.0 3,977 7/30/2015
2.45.0 1,050 7/21/2015
2.44.0 1,682 7/9/2015
2.43.0 4,146 6/4/2015
2.42.0 563 6/2/2015
2.41.0 2,449 5/7/2015
2.40.0 15,300 1/31/2015
2.38.0 3,404 12/11/2014
2.37.0 1,248 11/22/2014
2.36.0 8,399 10/10/2014
2.35.0 5,097 9/25/2014
2.34.1 884 9/17/2014
2.34.0 1,247 9/10/2014
2.33.0 9,357 8/12/2014
2.32.0 726 8/6/2014
2.31.0 2,820 7/9/2014
2.30.1 9,318 5/14/2014
2.30.0 3,975 3/31/2014
2.29.1 1,768 3/12/2014
2.29.0 818 3/4/2014
2.28.1 1,793 2/11/2014
2.28.0 1,322 12/31/2013
2.27.0 1,481 12/4/2013
2.26.1 1,413 10/31/2013
2.26.0 578 10/28/2013
2.25.4 948 9/24/2013
2.25.3 813 9/12/2013
2.25.2 1,098 8/14/2013
2.24.1 886 7/29/2013
2.23.1 2,522 5/16/2013
2.22.0 45,977 4/3/2013
2.21.0 1,347 3/5/2013
2.20.0.2 795 1/28/2013
2.20.0.1 757 1/21/2013
2.20.0 732 12/20/2012
2.19.0 1,133 11/12/2012
2.18.0 718 10/25/2012
2.17.0 724 10/4/2012
2.15.1 934 8/14/2012
Show less