Skip to content

Releases: Adyen/adyen-android

5.1.0

11 Dec 14:54
05c0582
Compare
Choose a tag to compare

New

Fixed

  • Fixed a bug where components would not be displayed in Jetpack Compose lazy lists.

Changed

4.13.4

23 Nov 13:58
dfef576
Compare
Choose a tag to compare

Note

If you are using WeChat Pay please update to this version or migrate to 5.x.x to make sure WeChat Pay will work for all Android versions.

Fixed

  • WeChatPay now works correctly on Android 11 and later. This fixes a known issue from previous 4.x.x versions.

Changed

  • Dependency versions:
    Name Version
    WeChat Pay 6.8.0

5.0.1

10 Nov 12:39
7722943
Compare
Choose a tag to compare

Fixed

  • @RestrictTo annotations no longer cause false errors with Android Studio and Lint.
  • Using the layout inspector or having view attribute inspection enabled in the developer options no longer causes a crash when viewing a payment method.
  • Implementing the :action module no longer gives a duplicate class error caused by a duplicate namespace.
  • For Drop-in, dismissing the gift card payment method no longer prevents further interaction.

Changed

5.0.0

18 Oct 10:35
4820936
Compare
Choose a tag to compare

For guidance on integrating with this version, have a look at the integration guide.

If your integration uses Android v4.13.3 and earlier, and you're upgrading it to use v5.0.0, you can follow the migration guide.

These are the changes between the beta and stable release. For the full release notes that include all the changes from v4.13.3, see the release notes in our Docs.

Breaking changes

  • Amount.EMPTY is removed. Make sure you pass amounts with a valid value and currency.

Fixed

  • @RestrictTo annotations no longer cause false errors with Android Studio Hedgehog (Beta).
  • The Drop-in bottom sheet will no longer shift position on the screen when launching some flows like redirect and 3D Secure 2.

Changed

4.13.3

25 Sep 15:24
92b7649
Compare
Choose a tag to compare

Fixed

  • Fixed Cash App payments being refused because of missing customerId during /payments/details call.

4.13.2

14 Sep 15:26
9c41b32
Compare
Choose a tag to compare

Changed

  • Updated device information collection during the 3D Secure 2 device fingerprinting process.

5.0.0-beta01

07 Sep 08:38
639ca08
Compare
Choose a tag to compare

⚠️ 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

4.13.1

01 Sep 10:13
3ff8f5b
Compare
Choose a tag to compare

Fixed

  • For cards that require the shopper to input their address:
    • When internet connection is lost while loading, it no longer crashes. Instead an error is returned.
    • The Country dropdown menu to select no longer displays no options. Previously, an error sometimes caused the menu to have no options, so the transaction couldn't be submitted.

4.13.0

30 Aug 08:51
fac383d
Compare
Choose a tag to compare

New

  • For 3D Secure 2 transactions, when a challenge is unsuccessful because of error or timeout, the details are propagated in an object instead of returning an error. You can make a /payments/details request from your server to submit these details.

Changed

  • 3D Secure 2 SDK version: v2.2.15.
  • compileSdkVersion and targetSdkVersion: 33.

Fixed

  • For cards, when a detected card brand doesn't require a security code (CVC), the CVC field on the payment form no longer shows a validation error.
  • For dual-branded cards, if the shopper doesn't select a detected brand, the paymentMethod object no longer contains a brand when submitting the payment.
  • After the AwaitComponent handles an action, it no longer causes a crash when resuming your app from the background.

5.0.0-alpha02

18 Jul 08:22
6388365
Compare
Choose a tag to compare

⚠️ This is an alpha release. Don't use it to accept payments in your live environment.

Breaking changes

  • All classes in com.adyen.checkout.action are now in com.adyen.checkout.action.core. If you import the classes, you must update import statements.
  • For Components integrations, each payment component no longer handles 3D Secure 2 and WeChat Pay actions. To handle the actions, you must add dependencies for each action:
    implementation 'com.adyen.checkout:3ds2:YOUR_VERSION'
    implementation 'com.adyen.checkout:wechatpay:YOUR_VERSION'
    Exceptions: CardComponent and BcmcComponent can handle the 3D Secure 2 action. They don't require the additional dependencies.

New

  • Payment method: Boleto Bancario. Payment method type: boletobancario.

  • Jetpack Compose compatibility.

    • For Drop-in, use the drop-in-compose module.
    • For Components, use the components-compose module.
  • For cards, the brand attribute is now included in the paymentMethod object for all cards. Previously, it was just included for co-branded ones.

  • You can now safely exclude unnecessary third-party dependencies. Do this by excluding the Adyen Checkout module that includes the third-party dependency. For example:

    implementation('com.adyen.checkout:drop-in:YOUR_VERSION') {
        exclude group: 'com.adyen.checkout', module: '3ds2'
        exclude group: 'com.adyen.checkout', module: 'wechatpay'
    }

    Make sure that you don't include a payment method that corresponds to the module that you exclude.

  • For Google Pay, new configurations in GooglePayConfiguration:

    Function Description
    setAllowCreditCards Specify if you allow credit cards.
    setAssuranceDetailsRequired Specify if you require assurance details.

Improved

  • Email input validation.

Fixed

Changed