Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

113 lines (83 sloc) 4.829 kb


  • Added AddOns/Discounts

  • Enhanced Subscription search

  • Made gateway operations threadsafe when using multiple configurations

  • Allow specifying prorate_charges on Subscription update

  • Added AddOn/Discount details to transactions that were created from a Subscription

  • Added Expired and Pending statuses to Subscription

  • Added constants for CreditCardVerification statuses

  • Renamed GatewayRejectionReason constants to make them more idiomatic

  • Removed 13 digit Visa Sandbox Credit Card number and replaced it with a 16 digit Visa

  • Added refund class method on Transaction

  • Deprecated instance methods on Resource classes in favor of class methods

  • Added new fields to Subscription:

    • billing_day_of_month

    • first_billing_date

    • number_of_billing_cycles

    • never_expires

    • days_past_due


  • Added unified message to result objects

  • Added ability to specify country using country_name, country_code_alpha2, country_code_alpha3, or country_code_numeric (see ISO_3166-1)

  • Added gateway_rejection_reason to Transaction and Verification

  • Added delete as a class method on CreditCard (in addition to the existing instance method)

  • Allow searching with Date objects (in addition to DateTime and Time objects)

  • When creating a Subscription, return failed transaction on the ErrorResult if the initial transaction is not successful


  • Fixed gem packaging


  • Removed dependency on libxml – it will still be used if libxml is explicitly required or it will fall back on rexml

  • Added unified TransparentRedirect url and confirm methods and deprecated old methods

  • Allow updating the payment_method_token on a subscription

  • Added methods to link a Transaction with its refund and vice versa

  • Allow card verification against a specified merchant account

  • Added ability to update a customer, credit card, and billing address in one request


  • 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 approximate_size to maximum_size 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


  • 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 payment method

  • Allow existing billing address to be updated when updating credit card


  • Updated success? on transaction responses to return false on declined transactions

  • Search results now include Enumerable and will automatically paginate data

  • Added credit_card[cardholder_name] to allowed transaction params and CreditCardDetails (thanks chrismcc)


  • Added ValidationErrorCollection#shallow_errors to get all of the ValidationErrors at a given level in the error hierarchy

  • Added the ability to make a credit card the default card for a customer

  • Added constants for transaction statuses

  • Updated Quick Start in README.rdoc to show a workflow with error checking


  • Added Subscription search

  • Updated production CA SSL certificate authority

  • Updated credit cards to include associated subscriptions when finding in vault

  • Fixed bug where we used to raise a “forged query string” exception when we were down for maintenance.


  • Fixed a bug with empty search results

  • Added support for appending to user agent

  • Finding a customer using id as an integer will now work (even though customer ids are actually strings)


  • Allow passing expiration_month and expiration_year separately

  • Updated Customer.find to raise an ArgumentError if given an invalid id

  • Added error code for transaction amounts that are too large

  • Include Enumerable in Braintree::Errors to iterate over all validation errors

  • Added processor_authorization_code attr_reader to Braintree::Transaction

  • Added cvv_response_code attr_reader to Braintree::Transaction

  • Added deep_errors method to Braintree::ValidationErrorCollection to get errors at every level of nesting


  • Added explicit require for date to fix missing initialize (thanks jherdman)

  • Allow Transaction price and Subscription amount as BigDecimals (as well as Strings)

  • Ruby 1.9 bug fixes (thanks Leo Shemesh)


  • Recurring billing support


  • Custom fields support

  • Transaction status history support


  • Initial release

Jump to Line
Something went wrong with that request. Please try again.