PackageTrack
Sign in Get early access

braintree/braintree_php

Braintree PHP Client Library

6.37.0 51M downloads/mo #730 most downloaded on Packagist braintree/braintree_php

What this package is like to depend on

Last release 18 days ago

05 Aug 2026

Ships fairly regularly

a new release about every 6 weeks

Nearly every release is documented

notes for 141 of 143 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

144 releases · first in 2012

10 releases in the last 12 months

see the full history below

Release timeline

144 releases · Jul 2012 to Aug 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 144
  1. 6.37.0 05 Aug 2026
    Release notes
    • Fix path traversal vulnerability in Dispute and Address gateways by validating that IDs used in request paths do not contain path separators or relative-path segments
    • Add PAYPAL_ACCOUNT_EMAIL_FORMAT_IS_INVALID (92963) and PAYPAL_ACCOUNT_EMAIL_IS_TOO_LONG (92964) validation error codes
    • Add preferredPaymentMethodToken to ClientToken::generate
    Open source →
  2. 6.36.0 15 Jun 2026
    Release notes
    • Deprecate debugId on Transaction\PayPalDetails, Transaction\LocalPaymentDetails, and Transaction\SepaDirectDebitAccountDetails
    • Add accountReferenceNumberType to sender and receiver in transfer on Transaction
    • Add CannotCloneThirdPartyCofNetworkTokenTransaction (915274) transaction validation error code
    Open source →
  3. 6.35.0 27 May 2026
    Release notes
    • Add mastercardTransactionLinkId to Transaction and Verification
    • Fix webhook signature verification vulnerability when using OAuth Connect
    Open source →
  4. 6.34.0 30 Apr 2026
    Release notes
    • Add support for apple pay card verifications
    Open source →
  5. 6.33.1 15 Apr 2026
    Release notes
    • Fixes syntax error in Version.php file
    Open source →
  6. 6.33.0 09 Apr 2026
    Release notes
    • Add Local Payment Context support with LocalPaymentGateway->create() and LocalPaymentGateway->find() methods
    • Add support for MBWAY and CRYPTO payment types
    • Add acquirerReferenceNumber to transaction search object
    • Remove merchant create functionality
    • Remove accountFundingTransaction from Transaction request
    • Add apiRequestKey (idempotency) support for Transaction::sale(), Transaction::credit(), Transaction::submitForSettlement(), Transaction::submitForPartialSettlement(), Transaction::void(), and Transaction::refund()
    • Add surchargeAmount to transaction object
    Open source →
  7. 6.32.0 02 Feb 2026
    Release notes
    • Add JsonSerializable interface to Instance class for proper JSON encoding support
    • Fix PHP 8.5 curl_close() deprecation warning by using version-conditional cleanup
    • Add acceptPartialAuthorization to TransactionGateway and partiallyAuthorized to Transaction
    • Deprecate transactions for visa_checkout_card and maintain search functionality
    • Add achType to options -> usBankAccount in Transaction::sale()
    • Add achType and requestedAchType to Transaction
    Open source →
  8. 6.31.0 11 Dec 2025
    Release notes
    • Filter CreditCardVerification::search() to only return credit card verifications
    • Add middleName to sender and receiver, and dateOfBirth to sender in transfer on Transaction
    • Remove unused error code AdjustmentAmountMustBeGreaterThanZero
    Open source →
  9. 6.30.0 23 Oct 2025
    Release notes
    • Add processingMerchantCategoryCode to TransactionGateway
    • Add missing transfer validation error codes in Transaction
    Open source →
  10. 6.29.0 15 Oct 2025
    Release notes
    • Add Bank Account Instant Verification functionality
    • Add BankAccountInstantVerificationGateway for creating JWT tokens
    • Add BankAccountInstantVerificationJwt and BankAccountInstantVerificationJwtRequest classes
    • Add bankAccountInstantVerification() method to main Gateway class
    • Add ACH mandate support for US Bank Account transactions
    • Add achMandateText and achMandateAcceptedAt fields to Transaction and PaymentMethod create signatures
    • Add usBankAccount parameter support for ACH mandate details
    • Add INSTANT_VERIFICATION_ACCOUNT_VALIDATION as a new US Bank Account verification method
    • Add sender and receiver to transfer in Transaction
    • Add achRejectReason field to Transaction
    • Add isDeviceToken and merchantTokenIdentifier to ApplePayCard and ApplePayDetails
    • Add paymentAccountReference to ApplePayCardDetails, GooglePayCardDetails, CreditCardDetails and CreditCardVerification
    Open source →
  11. 6.28.0 05 Aug 2025
    Release notes
    • Add upcomingRetryDate to Transaction
    • Add remainingFileEvidenceStorage to Dispute
    • Add transaction_retried webhook
    • Add transfer type to Transaction
    Open source →
  12. 6.27.0 26 Jun 2025
    Release notes
    • Add Session Id to Customer Recommendations Payload
    Open source →
  13. 6.26.0 28 May 2025
    Release notes
    • Add accountInformationInquiry to:
      • CreditCard.create and CreditCard.update
      • PaymentMethod.create and PaymentMethod.update
      • CreditCardVerification.create
    • Enhancements to PayPal customer recommendations
      • Create a session and get recommendations in one call
      • Hash customer email and phone number
    • Add business, consumer, corporate, and purchase from the bin data to credit card responses
    Open source →
  14. 6.25.0 30 Apr 2025
    Release notes
    • Remove marketplace features
    • Add support for capturing payment facilitator and sub-merchant details with transactions
    Open source →
  15. 6.24.0 28 Feb 2025
    Release notes
    • Add support for PayPalPaymentResource requests
    • Add prepaid_reloadable from bin data in credit card responses
    Open source →
  16. 6.23.0 29 Jan 2025
    Release notes
    • Add support for creating and updating PayPal customer session
    • Add support for getting PayPal customer recommendations
    Open source →
  17. 6.22.0 23 Jan 2025
    Release notes
    • Add recipient/contact info: recipient_emailand recipient_phone to Transaction
    Open source →
  18. 6.21.0 31 Oct 2024
    Release notes
    • Add fail_on_duplicate_payment_method_for_customer option to
      • ClientToken
      • PaymentMethod
      • CreditCard
    • Add blik_aliases to LocalPaymentCompleted webhook
    • Deprecate SamsungPayCard
    • Updated expiring pinned vendor SSL certificates
    Open source →
  19. 6.20.0 19 Sep 2024
    Release notes
    • Add payer_name, bic and iban_last_chars to LocalPaymentCompleted webhook
    • Fixes "Array to String conversion" error when an international phone number is included in customer details
    • Add editPaypalVaultId to PayPalAccount
    • Add aniFirstNameResponseCode and aniLastNameResponseCode to CreditCardVerification
    • Add shippingTaxAmount to Transaction
    • Add networkTokenizationAttributes parameter to Transaction.sale
    • Add CREDIT_CARD_NETWORK_TOKENIZATION_ATTRIBUTE_CRYPTOGRAM_IS_REQUIRED to validation error codes.
    Open source →
  20. 6.19.0 23 Jul 2024
    Release notes
    • Add foreignRetailer to Transaction
    • Add internationalPhone to Address and Customer
    • Add fundingSourceDescription to PayPalAccount
    • Add missing GooglePayCard error code
    • Add REFUND_FAILED to WebhookNotification
    • Add final_capture to Transaction submitForPartialSettlement
    • Deprecate paypalTrackingId in favor of paypalTrackerId
    Open source →
  21. 6.18.0 26 Mar 2024
    Release notes
    • Deprecate CreditCard::credit in favor of Transaction::credit
    • Deprecate CreditCard::sale in favor of Transaction::sale
    • Add domains parameter support to ClientToken::generate
    • Refactor key validation in ClientTokenGateway
    Open source →
  22. 6.17.0 06 Mar 2024
    Release notes
    • Add UNDER_REVIEW Dispute Status
    • Add DISPUTE_UNDER_REVIEW WebhookNotification
    • Add debitNetwork support Transaction and TransactionSearch
    • Add process_debit_as_credit to TransactionOptionsCreditCardRequest
    Open source →
  23. 6.16.0 09 Jan 2024
    Release notes
    • Deprecate threeDSecureToken in favor of threeDSecureAuthenticationId
    • Deprecate venmoSdkSession, venmoSdkPaymentMethodCode, and isVenmoSdk()
    • Add PICKUP_IN_STORE to ShippingMethod enum
    • Add to CreditCardVerification create request
      • externalVault
      • paymentMethodNonce
      • riskData
      • threeDSecureAuthenticationId
      • threeDSecurePassThru
    • Add phoneNumber to Address, CreditCardGateway, PaymentMethodGateway and CustomerGateway
    • Add packages to Transaction
    • Add packageTracking method to TransactionGateway to make request to add tracking information to transactions
    • Add check for empty liabilityShift in RiskData
    • Add imageUrl, upcCode, and upcType to lineItems in TransactionGateway
    Open source →
  24. 6.15.0 08 Nov 2023
    Release notes
    • Add billingAddress and shippingAddress to VenmoProfileData for PaymentMethodCustomerDataUpdated webhook
    • Add MetaCheckoutCard and MetaCheckoutToken payment methods
    • Add MetaCheckoutCardDetails and MetaCheckoutTokenDetails to Transaction object
    • Add verificationAddOns and additionalProcessorResponse to PaymentMethodCreate for ACH Network Check
    • Add dateOfBirth and countryCode to industry_data
    Open source →
  25. 6.14.0 18 Oct 2023
    Release notes
    • Add arrivalDate and ticketIssuerAddress to Transaction object
    • Add SUBSCRIPTION_BILLING_SKIPPED WebhookNotification
    Open source →
  26. 6.13.0 30 Aug 2023
    Release notes
    • Add retry_ids and retry_transaction_id to Transaction object
    • Add processing_overrides to Transaction.sale options
    Open source →
  27. 6.12.0 31 May 2023
    Release notes
    • Add subscriptions for SEPA direct debit account
    • Add merchant_advice_code and merchant_advice_code_text to Transaction
    Open source →
  28. 6.11.2 06 Apr 2023
    Release notes
    • TestingGateway methods return type is Result\Error for validation errors.
    Open source →
  29. 6.11.1 18 Jan 2023
    Release notes
    • Resolved various dynamic property warnings for PHP 8.2 (thanks to @mvoelker & @markdavidsonEE)
    Open source →
  30. 6.11.0 11 Jan 2023
    Release notes
    • Add preDisputeProgram to Dispute and DisputeSearch
    • Add AUTO_ACCEPTED Dispute Status
    • Add DISPUTE_AUTO_ACCEPTED WebhookNotification
    • Add EXCESSIVE_RETRY to GatewayRejectionReason
    Open source →
  31. 6.10.0 09 Nov 2022
    Release notes
    • Add SEPADirectDebitAccount payment method
    • Add SEPADirectDebitAccountDetails to transaction object
    • Add SEPA_DIRECT_DEBIT_ACCOUNT to payment instrument type
    • Add SEPA Direct Debit specific error codes
    • Add SEPA Direct Debit array to customer object
    • Deprecate chargebackProtectionLevel and add protectionLevel to Dispute and DisputeSearch
    Open source →
  32. 6.9.1 03 Oct 2022
    Release notes
    • Address PHP 8.2 deprecation warnings due to string interpolation patterns. (thanks @Ayesh)
    Open source →
  33. 6.9.0 25 Jul 2022
    Release notes
    • Add TRANSACTION_REASON_CODE to search for transaction that have any ach return response with reason code associated.
    • Add reasonCode criteria to TransactionSearch
    • Add achReturnResponsesCreatedAt criteria to TransactionSearch
    • Add LiabilityShift class and liabilityShift to RiskData
    • Add support for ExchangeRateQuoteAPI
    • Fix various PHP 8.1 null warnings (thanks @simoheinonen & @robbieaverill)
    Open source →
  34. 6.8.0 01 Apr 2022
    Release notes
    • Add retried to Transaction
    Open source →
  35. 6.7.0 23 Feb 2022
    Release notes
    • Fix lint errors on unit test
    Open source →
  36. 6.6.0 17 Feb 2022
    Release notes
    • Add PaymentMethodCustomerDataUpdated webhook notification support
    Open source →
  37. 6.5.1 20 Dec 2021
    Release notes
    • Address PHP 8.1 Deprecation warnings
    Open source →
  38. 6.5.0 12 Nov 2021
    Release notes
    • Add plan create/update/find API endpoint
    • Add TransactionReview webhook notification
    Open source →
  39. 6.4.1 21 Jul 2021
    Release notes
    • Add exchangeRateQuoteId to Transaction.sale
    • Add error code EXCHANGE_RATE_QUOTE_ID_IS_TOO_LONG
    • Added the following fields to GooglePayCard and ApplePayCard:
      • commercial
      • debit
      • durbinRegulated
      • healthcare
      • payroll
      • prepaid
      • productId
      • countryOfIssuance
      • issuingBank
    • Add LocalPaymentExpired and LocalPaymentFunded webhook notification support
    Open source →
  40. 6.4.0 21 Jul 2021

    Nothing published for this version

  41. 6.3.0 21 Jun 2021
    Release notes
    • Add paymentReaderCardDetails parameter to Transaction.sale
    • Add error code TRANSACTION_TAX_AMOUNT_IS_REQUIRED_FOR_AIB_SWEDISH for attribute taxAmount in transaction key for AIB:Domestic transactions in Sweden.
    Open source →
  42. 6.2.0 17 May 2021
    Release notes
    • Add chargebackProtectionLevel to Dispute and DisputeSearch
    • Add skipAdvancedFraudChecking to:
      • CreditCard.create and CreditCard.update
      • PaymentMethod.create and PaymentMethod.update
    Open source →
  43. 6.1.0 06 May 2021
    Release notes
    • Add paypalMessages to Dispute
    • Fix bug where __isset methods in Instance and Base classes treated null value as set (Thanks @sklodzio)
    • Add tax_identifiers parameter to Customer.create and Customer.update
    • Add webhook sample for GrantedPaymentMethodRevoked
    • Add sample webhook notifications for SUBSCRIPTION_EXPIRED, SUBSCRIPTION_CANCELED and SUBSCRIPTION_WENT_PAST_DUE (thanks @antonvolokha)
    Open source →
  44. 6.0.0 06 Apr 2021
    Release notes
    • Add LocalPaymentReversed webhook
    • Add adjustAuthorization method to Transaction, for supporting multiple authorizations on a single transaction
    • Add storeId and storeIds to Transaction search
    • Add merchantAccountId parameter to Transaction refund
    • Parameters that supported DateTime objects can also support DateTimeImmutable objects (closes #278)
    • Add toArray function to Base and Instance classes (resolves #289)
    • Add jsonSerialize to Instance class
    • Breaking Changes:
      • Require PHP 7.3 or higher
      • Rename AndroidPayCard to GooglePayCard
      • Rename AndroidPayCardDetails to GooglePayCardDetails
      • Remove Configuration#isAuthenticatedInstanceProxy method in favor of Configuration#isAuthenticatedProxy
      • Remove Configuration#isUsingInstanceProxy method in favor of Configuration#isUsingProxy
      • Remove TRANSACTION_EXTERNAL_VAULT_CARD_TYPE_IS_INVALID and RISK_DATA_CUSTOMER_BROWSER_IS_TOO_LONG error codes
      • Remove customer_ip and customer_browser snake case parameters in favor of camel case customerIp and customerBrowser accepted in Customer#create and Transaction#sale
      • Remove AmexExpressCheckoutCard and AmexExpressCheckoutCardDetails
      • Remove MasterpassCard and MasterpassCardDetails
      • Remove deprecated parameters:
        • deviceSessionId from CreditCardGateway#update, CreditCardGateway#create, CustomerGateway#create, CustomerGateway#update, PaymentMethodGateay#update, and TransactionGateway#create
        • fraudMerchantId from CreditCardGateway#update, CreditCardGateway#create, CustomerGateway#create, CustomerGateway#update, PaymentMethodGateay#update, and TransactionGateway#create
    Open source →
  45. 5.5.0 25 Jan 2021
    Release notes
    • Add scaExemption to Transaction sale
    • Deprecate deviceSessionId and fraudMerchantId in CreditCardGateway, CustomerGateway, PaymentMethodGateway, and TransactionGateway classes
    • Add installments to Transaction sale
    • Add count to installments
    Open source →
  46. 5.4.0 09 Nov 2020
    Release notes
    • Add AcquirerReferenceNumber to Transaction
    • Add billingAgreementId to PayPalDetails
    • Deprecate recurring in Transaction sale
    • Deprecate tag in Dispute add text evidence
    Open source →
  47. 5.3.1 02 Oct 2020
    Release notes
    • Deprecate masterpassCard and amexExpressCheckoutCard payment methods
    • Deprecate amexExpressCheckoutCardDetails
    Open source →
  48. 5.3.0 05 Aug 2020
    Release notes
    • Add RISK_THRESHOLD to GatewayRejectionReason constants
    • Add networkTransactionId to CreditCardVerification
    • Add processedWithNetworkToken to Transaction
    • Add isNetworkTokenized to CreditCard
    • Add productSku to Transaction
    • Add phoneNumber and shippingMethod to Address
    • Add customerDeviceId, customerLocationZip, and customerTenure to RiskData
    • Add error codes
      • TRANSACTION_PRODUCT_SKU_IS_INVALID
      • TRANSACTION_SHIPPING_METHOD_IS_INVALID
      • TRANSACTION_SHIPPING_PHONE_NUMBER_IS_INVALID
      • TRANSACTION_BILLING_PHONE_NUMBER_IS_INVALID
      • RISK_DATA_CUSTOMER_BROWSER_IS_TOO_LONG
      • RISK_DATA_CUSTOMER_DEVICE_ID_IS_TOO_LONG
      • RISK_DATA_CUSTOMER_LOCATION_ZIP_INVALID_CHARACTERS
      • RISK_DATA_CUSTOMER_LOCATION_ZIP_IS_INVALID
      • RISK_DATA_CUSTOMER_LOCATION_ZIP_IS_TOO_LONG
      • RISK_DATA_CUSTOMER_TENURE_IS_TOO_LONG
      • RISK_DATA_CUSTOMER_TENURE_IS_INVALID
    Open source →
  49. 5.2.0 15 Jun 2020
    Release notes
    • Add retrieval_reference_number to Transaction
    • Fix class alias issue where Exceptions could not be thrown for missing libraries or older PHP versions.
    • Fix issue where proxyHost, proxyPort, proxyType, proxyUser, proxyPassword, and sslVersion were not being set on Gateway or Configuration objects.
    Open source →
  50. 5.1.0 12 May 2020
    Release notes
    • Add threeDSecurePassThru parameters to Customer.create, PaymentMethod.create, CreditCard.create, Customer.update, PaymentMethod.update and CreditCard.update
    • Add recurringCustomerConsent and recurringMaxAmount to authenticationInsightOptions for PaymentMethodNonce.create
    • Add DOCUMENT_UPLOAD_FILE_IS_EMPTY error code
    • phpDocs fixes (thanks @pupitooo)
    Open source →
  51. 5.0.0 25 Mar 2020
    Release notes
    • Add DISPUTE_ACCEPTED, DISPUTE_DISPUTED, and DISPUTE_EXPIRED webhook constants
    • Breaking Changes:
      • Upgrade API version to retrieve declined refund transactions
      • Throw RequestTimeout instead of Timeout for transaction search
      • Drop PSR-0 Support and remove class aliases
      • Remove EuropeBankAccount and IbanBankAccount modules
      • Remove deprecated SEPA error codes
      • Remove paypalVaultWithoutUpgrade
      • Invalid transaction IDs are validated by the gateway and not the SDK
    Open source →
  52. 4.8.0 12 Mar 2020
    Release notes
    • Add Authentication Insight to payment method nonce create
    • Add threeDSecureAuthenticationId support to transaction sale
    • Add ThreeDSecure test payment method nonces
    • Add test AuthenticationIds
    Open source →
  53. 4.7.0 20 Feb 2020
    Release notes
    • Add RefundAuthHardDeclined and RefundAuthSoftDeclined to validation errors
    • Add level 2 processing options purchaseOrderNumber, taxAmount, and taxExempt to Transaction submit for settlement
    • Add level 3 processing options discountAmount, shippingAmount, shipsFromPostalCode, and lineItems to Transaction submit for settlement
    Open source →
  54. 4.6.0 13 Jan 2020
    Release notes
    • Add isNetworkTokenized to AndroidPayCard and AndroidPayCardDetails
    • Add GraphQL ID to CreditCardVerification, Customer, Dispute, and Transaction
    • Add support for PHP 7.4 (#262 thanks @slt)
    • Add threeDSecurePassThru params to PaymentMethod update
    Open source →
  55. 4.5.0 28 Oct 2019
    Release notes
    • Add PROCESSOR_DOES_NOT_SUPPORT_MOTO_FOR_CARD_TYPE to validation errors
    • Make errors JSON serializable (#256 thanks @sebdesign)
    Open source →
  56. 4.4.0 02 Oct 2019
    Release notes
    • Add AMOUNT_NOT_SUPPORTED_BY_PROCESSOR to validation errors
    • Forward forwardedComments to processorComments
    Open source →
  57. 4.3.0 09 Aug 2019
    Release notes
    • Add PayPalHereDetails to transactions
    • Add network_response_code and network_response_text to Transaction and CreditCardVerification
    • Add xid, cavv, eciFlag, dsTransactionId, and threeDSecureVersion to ThreeDSecureInfo
    • Add threeDSecureInfo to CreditCardVerification
    • Add GraphQLClient to BraintreeGateway class
    Open source →
  58. 4.2.0 27 Jun 2019
    Release notes
    • Add captureId to LocalPaymentDetails
    • Add debugId to LocalPaymentDetails
    • Add refundId to LocalPaymentDetails
    • Add transactionFeeAmount to LocalPaymentDetails
    • Add transactionFeeCurrencyIsoCode to LocalPaymentDetails
    • Add refundFromTransactionFeeAmount to LocalPaymentDetails
    • Add refundFromTransactionFeeCurrencyIsoCode to LocalPaymentDetails
    • Add threeDSecureVersion, authenticationResponse, directoryResponse, cavvAlgorithm and dsTransactionId to 3DS pass thru fields
    • Add payerInfo to PaymentMethodNonce details
    • Add roomTax field to Transaction sale
    • Add noShow field to Transaction sale
    • Add advancedDeposit field to Transaction sale
    • Add fireSafe field to Transaction sale
    • Add propertyPhone field to Transaction sale
    • Add additionalCharges field to Transaction sale
    • Add PostalCodeIsRequiredForCardBrandAndProcessor to validation errors
    Open source →
  59. 4.1.0 21 May 2019
    Release notes
    • Add revokedAt field to PayPalAccount
    • Add support for PAYMENT_METHOD_REVOKED_BY_CUSTOMER webhook
    • Add payment_method_nonce field to LocalPaymentCompleted webhook
    • Add transaction field to LocalPaymentCompleted webhook
    • Add localPaymentDetail to transactions
    • Add TOKEN_ISSUANCE gatewayRejectionReason enum to Transaction
    Open source →
  60. 4.0.0 06 May 2019
    Release notes
    • Add support for PHP 7 (Thanks to @briandotdev)
    • Require PHP 7.2 or higher
    • Remove support for HHVM and PHP 5
    • Update to PHPUnit 7
    • Remove deprecated GRANTED_PAYMENT_INSTRUMENT_UPDATE
    • Remove deprecated Coinbase payment method
    • Remove deprecated iDEAL payment method
    • Remove deprecated MerchantAccountGateway creation with applicantDetails. Please use individual, business, and funding.
    • When a Customer is created, the customFields property is always an array rather than potentially null.
    • Remove Transparent Redirect
    • Remove riskData, applePay, applePayCard, threeDSecure, and venmo.profileId snakecase attributes
    • HTTPS requests throw an SSLCertificate exception when related to SSL, otherwise a Connection exception is thrown.
    • Rename DownForMaintence Exception to ServiceUnavailable. Throw Timeout exception for transaction search errors instead of DownForMaintenance.
    • Add RequestTimeout and GatewayTimeout exceptions.
    • Add revokedAt field to PayPalAccount
    • Add support for PAYMENT_METHOD_REVOKED_BY_CUSTOMER webhook
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive