Braintree 2.27.0

Braintree client library

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

Release Notes

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

Version History

Version Downloads Last updated
4.16.0 7,400 10/1/2019
4.15.0 15,335 8/12/2019
4.14.0 6,215 7/30/2019
4.13.0 366 7/29/2019
4.12.0 17,909 6/6/2019
4.11.0 30,662 4/2/2019
4.10.1 70,019 3/28/2019
4.9.0 44,542 1/28/2019
4.8.0 23,368 12/13/2018
4.7.0 19,441 11/3/2018
4.6.0 16,736 10/11/2018
4.5.0 38,448 7/26/2018
4.4.0 33,201 5/22/2018
4.3.0 1,754 5/17/2018
4.2.0 7,830 4/30/2018
4.1.1 8,410 4/11/2018
4.1.0 18,395 4/5/2018
4.0.0 8,938 3/23/2018
3.14.0 1,158 3/21/2018
3.13.0 7,118 3/13/2018
3.12.0 13,680 2/9/2018
3.10.1 15,461 12/14/2017
3.10.0 19,329 11/17/2017
3.9.0 31,468 9/14/2017
3.8.0 125,703 5/11/2017
3.7.0 29,095 4/19/2017
3.6.0 14,514 3/16/2017
3.5.0 26,489 1/23/2017
3.4.0 18,635 1/5/2017
3.3.0 61,541 12/2/2016
3.2.1 6,393 11/16/2016
3.1.0 2,737 11/10/2016
3.0.1 16,427 9/8/2016
2.65.0 21,128 9/1/2016
2.64.0 5,619 8/1/2016
2.63.0 5,429 7/19/2016
2.62.0 659 7/15/2016
2.61.0 6,226 6/24/2016
2.60.0 6,124 5/24/2016
2.59.0 4,960 5/11/2016
2.58.0 9,649 4/27/2016
2.57.0 2,586 4/19/2016
2.56.0 4,574 3/21/2016
2.55.0 7,640 2/25/2016
2.54.0 8,701 2/9/2016
2.53.0 7,548 1/14/2016
2.52.0 10,257 11/24/2015
2.51.0 5,870 10/28/2015
2.50.0 9,918 9/21/2015
2.49.0 8,861 9/1/2015
2.48.0 2,826 8/28/2015
2.47.0 1,397 8/19/2015
2.46.0 3,820 7/30/2015
2.45.0 1,011 7/21/2015
2.44.0 1,644 7/9/2015
2.43.0 4,096 6/4/2015
2.42.0 522 6/2/2015
2.41.0 2,403 5/7/2015
2.40.0 14,671 1/31/2015
2.38.0 3,363 12/11/2014
2.37.0 1,206 11/22/2014
2.36.0 8,220 10/10/2014
2.35.0 5,040 9/25/2014
2.34.1 842 9/17/2014
2.34.0 1,209 9/10/2014
2.33.0 9,314 8/12/2014
2.32.0 687 8/6/2014
2.31.0 2,779 7/9/2014
2.30.1 8,986 5/14/2014
2.30.0 3,829 3/31/2014
2.29.1 1,716 3/12/2014
2.29.0 778 3/4/2014
2.28.1 1,753 2/11/2014
2.28.0 1,280 12/31/2013
2.27.0 1,436 12/4/2013
2.26.1 1,362 10/31/2013
2.26.0 536 10/28/2013
2.25.4 905 9/24/2013
2.25.3 772 9/12/2013
2.25.2 1,056 8/14/2013
2.24.1 844 7/29/2013
2.23.1 2,475 5/16/2013
2.22.0 41,131 4/3/2013
2.21.0 1,304 3/5/2013
2.20.0.2 752 1/28/2013
2.20.0.1 712 1/21/2013
2.20.0 687 12/20/2012
2.19.0 1,088 11/12/2012
2.18.0 673 10/25/2012
2.17.0 679 10/4/2012
2.15.1 882 8/14/2012
Show less