Skip to content

Releases: Adyen/adyen-android

5.9.0

17 Jan 14:20
b95ca25
Compare
Choose a tag to compare

New

  • Simplified integration for Google Pay:

    • The Component now includes the Google Pay button, and you no longer have to display the button with your own configuration.
    • The Component now does the availability check on initialization.
    • The deprecated onActivityResult is no longer needed.

    See the migration guide to learn about the changes you have to make to your integration to support Google Pay on this version.

  • Drop-in now shows a toolbar on more intermediary screens to let shoppers navigate back easily.

Changed

Deprecated

  • The styles and strings for the Cash App Pay loading indicator. Use the new styles and strings instead.
    Previous Now
    AdyenCheckout.CashAppPay.ProgressBar AdyenCheckout.ProcessingPaymentView.ProgressBar
    AdyenCheckout.CashAppPay.WaitingDescriptionTextView AdyenCheckout.ProcessingPaymentView.WaitingDescriptionTextView
    cash_app_pay_waiting_text checkout_processing_payment

Repository Maintenance

  • We are changing the default branch of our SDK repository from develop to main. If you are using our SDK repository and are working with the develop branch, we recommend switching to the main branch. The develop branch will be removed within the next few weeks.

5.8.0

06 Dec 13:45
a456abd
Compare
Choose a tag to compare

New

  • Payment method:
    • Pay by Bank US. Payment method type: paybybank_AIS_DD.

Fixed

  • For cards, the address lookup functionality no longer crashes if the shopper presses back when the postal code field is in focus.
  • For Drop-in, fixed an issue where the error dialog showed loading state in some edge cases.

Changed

5.7.1

14 Nov 12:51
Compare
Choose a tag to compare

Fixed

  • For the Address Lookup functionality:
    • Address data is now correctly saved to PaymentComponentData.
    • Address fields that were edited manually no longer lose their state when starting Lookup mode.

5.7.0

14 Oct 13:14
6c5f6d2
Compare
Choose a tag to compare

New

Warning

For Twint Components integrations, you must now use TwintComponent instead of InstantPaymentComponent.

  • For French meal vouchers, the following payment method types are now available:

    • Up. Payment method type: mealVoucher_FR_groupeup.
    • Natixis. Payment method type: mealVoucher_FR_natixis.
    • Sodexo. Payment method type: mealVoucher_FR_sodexo.
    • Learn to configure French meal vouchers.
  • For API-only integrations with encrypted card details, you can now use the following classes to validate corresponding fields:

    Class Description
    CardNumberValidator Validates the card number field.
    CardExpiryDateValidator Validates the expiry date field.
    CardSecurityCodeValidator Validates the security code field.
  • Support for the following locales:

    Locale Values
    Catalan ca-ES
    Icelandic is-IS
    Bulgarian bg-BG
    Estonian et-EE
    Latvian lv-LV
    Lithuanian lt-lT

Fixed

  • When parsing JSON objects with explicit null values, JSON deserialization no longer returns the coerced null string.

Improved

  • For UPI Intent, if the shopper selects the Continue button without selecting an UPI option, an error message now shows.
  • For Drop-in, in the navigation bar, the accessibility of the Back/Close button is improved.

Changed

Deprecated

  • The style for payment method list headers. Use the new style instead.

    Previous Now
    AdyenCheckout.TextAppearance.HeaderTitle AdyenCheckout.TextAppearance.HeaderLabel
  • The com.adyen.checkout.instant.ActionHandlingMethod method. Use the new method instead.

    Previous Now
    com.adyen.checkout.instant.ActionHandlingMethod com.adyen.checkout.components.core.ActionHandlingMethod

5.6.0

09 Jul 14:44
a5f3075
Compare
Choose a tag to compare

New

  • For Google Pay on Advanced flow, onSubmit now returns threeDS2SdkVersion in the paymentMethod object that you must pass in your /payments request to correctly trigger the 3D Secure 2 flow.

Fixed

  • On Android API versions 21 to 25, the NoSuchMethodError no longer occurs during the 3D Secure 2 challenge flow.
  • When using R8 to shrink your code, CIRCULAR REFERENCE: com.android.tools.r8.utils.b: Missing class... errors no longer occur.

Changed

4.13.6

09 Jul 14:03
5ca4507
Compare
Choose a tag to compare

Fixed

  • On Android API versions 21 to 25, the NoSuchMethodError no longer occurs during the 3D Secure 2 challenge flow.

Changed

  • Dependency versions:
    Name Version
    Adyen 3DS2 2.2.19

5.5.0

21 Jun 10:09
f945b9c
Compare
Choose a tag to compare

New

  • Support for the UPI Intent flow, where the shopper can choose a UPI app to pay through. They are redirected to and complete the payment on the selected app.
  • The new iDEAL payment flow where the shopper is redirected to the iDEAL payment page to select their bank and authorize the payment.

Improved

  • Drop-in navigation:

    • Added the top navigation bar.
    • Disabled the dragging gesture that caused Drop-in to be dismissed.
    • When the shopper navigates back from an additional action screen (for example Await), Drop-in is dismissed.
  • Autofill support for the following:

    • For gift cards, the gift card number and PIN fields.
    • For UPI Virtual Payments, the address field.
    • For payment methods that use them, the address input fields.

Changed

Deprecated

We recommend that you remove the following from your integration.

  • For IdealComponent:
    • isConfirmationRequired()
    • submit()
  • For iDEAL configuration:
    • setViewType()
    • setHideIssuerLogos()
    • setSubmitButtonVisible()

5.4.0

30 May 12:12
c08b028
Compare
Choose a tag to compare

New

CheckoutConfiguration(
    environment = environment,
    clientKey = clientKey,
    ..
) {
    // Optionally pass the payment method type to only configure it for the specific payment method.
    instantPayment(PaymentMethodTypes.TWINT) {
        setActionHandlingMethod(ActionHandlingMethod.PREFER_WEB)
    }
}

Fixed

  • Fixed some memory leaks.
  • In case of a debug build, Drop-in no longer overrides the log level.
  • For cards, when a shopper does not select an address, the address lookup function now displays a validation error.
  • Actions no longer crash when your app uses obfuscation.
  • When handling a 3D Secure 2 challenge using Checkout API v66 or earlier, Drop-in no longer throws an error.
  • If the app process unexpectedly terminates when handling actions, the state is now restored and you can proceed with the payment flow.
  • For /sessions, fixed an issue where the setEnableRemovingStoredPaymentMethods flag in the Drop-in configuration was ignored.

Changed

4.13.5

02 May 10:28
2d10226
Compare
Choose a tag to compare

Changed

  • Dependency versions:
    Name Version
    Adyen 3DS2 2.2.17

5.3.1

10 Apr 12:25
ba2264f
Compare
Choose a tag to compare

Fixed

  • For Drop-in and Components, when ?android:attr/textColor is not defined in your own theme, the Card Component no longer crashes.
  • The onAdditionalDetails event is now triggered only once. Previously, the event was triggered multiple times in some edge cases.
  • The build output no longer contains warnings about multiple substitutions specified in non-positional format in string resources.
  • For the Card Component, we fixed localization issues that occurred when using the Address Lookup functionality.
  • Overriding some of the XML styles without specifying a parent style no longer causes a build error.

Removed

  • You can no longer use functions like CheckoutConfiguration.getCardConfiguration() or CheckoutConfiguration.getDropInConfiguration() to get configurations from the CheckoutConfiguration object. When starting Drop-in or Components, pass the full CheckoutConfiguration object.

Changed