Skip to content

5.0.0-beta01

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Sep 08:38
· 620 commits to main since this release
639ca08

⚠️ 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 the ErrorDialog parameter.
    • DropInServiceResult.Finished now has an optional FinishedDialog 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 the checkoutAttemptId field.

  • You can no longer manually instantiate the Environment class and the baseUrl 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