⚠️ This is a beta release. Don't use it to accept payments in your live environment.
For guidance on integrating with this version, have a look at the integration guide.
Breaking changes
-
For Drop-in, you can now configure if you show a dialog to dismiss Drop-in with either a finished state or error state.
DropInServiceResult.Error
now requires theErrorDialog
parameter.DropInServiceResult.Finished
now has an optionalFinishedDialog
parameter.
-
Analytics feature turned on by default. Find out what we track and how you can configure it.
- The method for setting analytics configuration has changed:
v5.0.0-beta01 Earlier versions setAnalyticsConfiguration(analyticsConfiguration: AnalyticsConfiguration)
setAnalyticsEnabled(isAnalyticsEnabled: Boolean)
-
PaymentMethodDetails
and its subclasses now have thecheckoutAttemptId
field. -
You can no longer manually instantiate the
Environment
class and thebaseUrl
field has been removed.
New
- You can now safely exclude any payment method from Drop-in. Do this by excluding the Adyen Checkout module that includes the payment method. For example:
implementation('com.adyen.checkout:drop-in:5.0.0-beta01') { exclude group: 'com.adyen.checkout', module: 'card' exclude group: 'com.adyen.checkout', module: 'ideal' }
- For cards:
- The BIN value callback is invoked while the shopper inputs their card number. The callback uses up to the first 8 digits.
- The BIN lookup callback is invoked when brands are detected on the card.
- When the shopper is redirected to another app or browser, a new callback is invoked.
- For Drop-in, you can now navigate the shopper back to the payment methods list, for example to load new payment methods. To do this, use DropInServiceResult.ToPaymentMethodsList.
Fixed
- QR code payment methods no longer crash in some cases.
- Rotating a device during the redirect flow no longer causes a crash.
Changed
- The
compileSdkVersion
andtargetSdkVersion
are now set to 34 (Android 14). - Dependency versions:
Name Version Adyen 3DS2 2.2.15 Android Gradle plugin 8.1.1 AndroidX Browser 1.6.0 AndroidX Compose BoM 2023.08.00 AndroidX Compose compiler 1.5.3 AndroidX Fragment 1.6.1 AndroidX Recyclerview 1.3.1 Cash App Pay 2.3.0 Kotlin Gradle plugin 1.9.10 WeChat Pay 6.8.0