- Added: Paypal endpoints for use with the vault flow [TylerCain]
- Added: Construct Paypal accounts from customer responses
- Added: Support
submit_for_settlement/2
to Transaction - Added: Typespec for the Transaction struct
- Fixed: Typespec for the CreditCard struct
- Fixed: Include xmerl in the list of applications to ensure that it is packaged
with
exrm
releases.
- Added: Available only during testing,
TestTransaction
, which can be used to transition transactions to different states. - Added: Add
find
,void
, andrefund
onTransaction
. [Tyler Cain] - Added: Add support for
PaymentMethod
,PaymentMethodNonce
. [Tyler Cain] - Added: Basic support for subscription management, starting with
create
. [Ryan Bigg]
- Fixed: Log unprocessable responses rather than inspecting them to STDOUT.
- Fixed: Convert 404 and 401 responses to error tuples, they are common problems with misconfiguration.
- Fixed: Lookup the certfile path at runtime rather than compile time. This fixes potential build errors when pre-building releases or packaging on platforms like Heroku.
- Fixed: Raise helpful errors when missing required config
- Added: Client token module for generating new client tokens [Taylor Briggs]
- Added: Support for updating and deleting customers.
- Added: A
Nonces
module for help testing transactions. - Changed: Include testing support
Braintree.Testing.CreditCardNumbers
as well asBraintree.Testing.Nonces
inlib/testing
, making it available in packaged releases. - Fixed: Trying to call
XML.load
on empty strings returns an empty map. - Removed: The
__using__
macro has been removed from HTTP because the naming conflicted withdelete
actions. An equivalent macro will be introduced in the future.
- Initial release with support for
Customer.create
andTransaction.sale
.