- Breaking Changes
- All Modules
- Bump
minSdkVersionto API 23 - Bump target Java version to Java 11
- Upgrade Kotlin version to 1.9.10
- Upgrade to Android Gradle Plugin 8
- Bump
- BraintreeCore
- Update package name to
com.braintreepayments.api.core - Remove
BraintreeClientpublic constructors - Remove
deliverBrowserSwitchResultanddeliverBrowserSwitchResultFromNewTaskfromBraintreeClient - Remove
ClientTokenProvider - Update payment method constructor parameters from
braintreeClienttocontextand
authorization - Remove
BraintreeSharedPreferencesException - Convert
PostalAddressto data class - Remove
openmodifier onConfiguration - Remove
UserCanceledException.isExplicitCancelation
- Update package name to
- UnionPay
- Remove
union-paymodule- UnionPay cards can now be processed as regular cards (through the
cardmodule) due to their partnership with Discover
- UnionPay cards can now be processed as regular cards (through the
- Remove
- BraintreeDataCollector
- Update package name to
com.braintreepayments.api.datacollector - Replace
DataCollector#collectDeviceData(context, merchantId, callback)with
DataCollector#collectDeviceData(context, riskCorrelationId, callback) - Add
DataCollectorResultand updateDataCollectorCallbackparameters
- Update package name to
- PayPalDataCollector
- Remove
paypal-data-collectormodule (usedata-collector)
- Remove
- Venmo
- Update package name to
com.braintreepayments.api.venmo - Remove
setFallbackToWeb()fromVenmoRequest- fallback to web is default behavior now - Remove
VenmoListener,VenmoTokenizeAccountCallback, andVenmoResultCallback - Add
VenmoLauncher,VenmoPaymentAuthRequest,VenmoPaymentAuthRequestCallback,
VenmoPaymentAuthResult,VenmoResult,VenmoTokenizeCallback, and
VenmoLauncherCallback - Rename
VenmoOnActivityResultCallbacktoVenmoResultCallback - Remove overload constructors,
setListener, andonActivityResultfromVenmoClient - Change
VenmoClient#tokenizeVenmoAccountparameters and rename to
VenmoClient#tokenize - Remove
VenmoIsReadyToPayCallback - Add
VenmoClient#createPaymentAuthRequest - Move
showVenmoInGooglePlayStoretoVenmoLauncher - Remove
isVenmoAppSwitchAvailableandisReadyToPay(no longer required as Venmo flow will fallback to web if app is not installed)
- Update package name to
- GooglePay
- Update package name to
com.braintreepayments.api.googlepay - Remove
GooglePayListenerandGooglePayRequestPaymentCallback - Add
GooglePayLauncher,GooglePayPaymentAuthRequest,
GooglePayPaymentAuthRequestCallback,GooglePayPaymentAuthResult,
GooglePayTokenizeCallback,GooglePayTokenizationParametersandGooglePayLauncherCallback - Remove overload constructors,
setListener, andonActivityResultfromGooglePayClient` - Change
GooglePayClient#requestPaymentparameters and rename to
GooglePayClient#createPaymentAuthRequest - Change
GooglePayClient#isReadyToPayandGooglePayIsReadyToPayCallbackparameters - Add
GooglePayClient#tokenize - Remove
merchantIdfromGooglePayRequest - Change
GooglePayGetTokenizationParametersCallbackparameters - Rename
GooglePayLauncherCallback#onResultto
GooglePayLauncherCallback#onGooglePayLauncherResult
- Update package name to
- ThreeDSecure
- Remove
ThreeDSecureListener - Add
ThreeDSecureLauncher,ThreeDSecurePaymentAuthResult,
ThreeDSecureTokenizeCallback,ThreeDSecurePaymentAuthRequest,
ThreeDSecurePaymentAuthRequestCallback,ThreeDSecurePrepareLookupResult,
ThreeDSecurePrepareLookupCallback, andThreeDSecureLancherCallback - Remove overload constructors,
setListener,continuePerformVerification,onBrowserSwitchResultandonActivityResultfromThreeDSecureClient - Change
ThreeDSecureClient#initializeChallengeWithLookupResponseparameters - Convert
ThreeDSecureResultinto sealed class - Add
ThreeDSecureClient#tokenize - Rename
ThreeDSecureClient#performVerificationto
ThreeDSecureClient#createPaymentAuthRequestand change parameters - Remove
versionRequestedfromThreeDSecureRequest - Add
ThreeDSecureNonceclass - Rename
ThreeDSecureResult#tokenizedCardtoThreeDSecureResult#threeDSecureNonce - Remove
ThreeDSecureV1UICustomization - Remove
versionRequesedfromThreeDSecureRequestas version 1 is no longer supported - Remove
ThreeDSecureV2BaseCustomization - Remove
CardinalValidateReceiverfromThreeDSecureActivity - Make empty
ThreeDSecureLookupconstructor package-private
- Remove
- PayPal
- Update package name to
com.braintreepayments.api.paypal - Require Android App Links to return to merchant app from PayPal flows
- Remove
PayPalListener - Add
PayPalLauncher,PayPalPaymentAuthRequest,PayPalPendingRequest,PayPalPaymentAuthResult,
PayPalPaymentAuthCallback,PayPalTokenizeCallback, andPayPalResult - Remove
PayPalFlowStartedCallback - Remove overload constructors,
setListener,parseBrowserSwitchResult,
clearActiveBrowserSwitchResult,requestOneTimePayment, andrequestBillingAgreementfrom
PayPalClient - Rename
PayPalClient#tokenizePayPalAccounttoPayPalClient#createPaymentAuthRequestand
change parameters - Rename
PayPalClient#onBrowserSwitchResulttoPayPalCient#tokenizeand change parameters
- Update package name to
- LocalPayment
- Remove
LocalPaymentListener - Add
LocalPaymentLauncher,LocalPaymentPendingRequest,LocalPaymentTokenizeCallback,
LocalPaymentAuthRequest,LocalPaymentAuthRequestCallbackandLocalPaymentAuthResult - Change
LocalPaymentResulttype - Remove overload constructors,
setListener,parseBrowserSwitchResult,
clearActiveBrowserSwitchResult,approveLocalPayment, andapprovePaymentfrom
LocalPaymentClient - Rename
LocalPaymentClient#startPaymenttoLocalPaymentClient#creatPaymentAuthRequest
and change parameters - Rename
LocalPaymentClient#onBrowserSwithResulttoLocalPaymentClient#tokenizeand
change parameters - Update package name to
com.braintreepayments.api.localpayment
- Remove
- Card
- Update package name to
com.braintreepayments.api.card - Remove
threeDSecureInfofromCardNonce - Move
ThreeDSecureInfotothree-d-securemodule - Add
CardResultobject - Change
CardTokenizeCallbackparameters
- Update package name to
- SEPA Direct Debit
- Update package name to
com.braintreepayments.api.sepadirectdebit - Remove
SEPADirectDebitLifecycleObserverandSEPADirectDebitListener - Add
SEPADirectDebitLauncher,SEPADirectDebitPendingRequest,
SEPADirectDebitPaymentAuthRequestCallback,SEPADirectDebitPaymentAuthRequest,
SEPADirectDebitResult,SEPADirectDebitPaymentAuthRequestParamsand
SEPADirectDebitTokenizeCallback - Remove Fragment or Activity requirement from
SEPADirectDebitClientconstructor - Replace
SEPADirectDebitClient#onBrowserSwitchResultwithSEPADirectDebitClient#tokenizeand
modify parameters - Replace
SEPADirectDebitClient#tokenizewithSEPADirectDebitClient#createPaymentAuthRequest
and modify parameters - Rename
SEPADirectDebitPaymentAuthRequestCallback#onResultto
SEPADirectDebitPaymentAuthRequestCallback#onSEPADirectDebitPaymentAuthResult
- Update package name to
- Visa Checkout
- Visa checkout is not yet available for v5
- American Express
- Update package name to
com.braintreepayments.api.americanexpress - Change parameters of
AmericanExpressGetRewardsBalanceCallback - Add
AmericanExpressResult
- Update package name to
- Samsung Pay
- Remove entire Samsung Pay module
- PayPal Native Checkout
- Remove entire PayPal Native Checkout module
- SharedUtils
- Update package name to
com.braintreepayments.api.sharedutils
- Update package name to
- PayPal Messaging (BETA)
- Remove
BraintreeClientfrom constructor - Update package name to
com.braintreepayments.api.paypalmessaging
- Remove
- Shopper Insights (BETA)
- Remove
BraintreeClientfrom constructor - Update package name to
com.braintreepayments.api.shopperinsights
- Remove
- All Modules