Skip to content

Releases: Adyen/adyen-android

4.7.0

19 Jul 09:27
b570a68
Compare
Choose a tag to compare

Added

  • Support for the new Asia Pacific South East (APSE) and India live environments. Use these environments with the corresponding APSE or India location-based live endpoints.

Fixed

  • For BACS Direct Debit, the payment agreement text in the payment form now includes the amount. Previously, it always showed the default above amount instead of the amount.

4.6.1

30 May 10:01
0f74279
Compare
Choose a tag to compare

Fixed

  • Not being able to import some standalone modules because of ui-core accidentally having a dependency to a style in card.

4.6.0

11 May 09:07
a208fd5
Compare
Choose a tag to compare

Added

  • Full billing address form in the card component. Use CardConfiguration.Builder.setAddressConfiguration to enable and configure.

Deprecated

  • Environment.LIVE. Replace with one of our explicit live environments, same one as your back end. You can find that value in your Customer Area.
  • CardConfiguration.Builder.setAddressVisibility. Replace with CardConfiguration.Builder.setAddressConfiguration.

Fixed

  • Soft keyboard navigation (next) not working in some cases in card component.
  • Localization issues with standalone components and custom locales.
  • Crash in GooglePay availability check.
  • Proguard rules. If you had to manually set any Proguard rules related to Drop-in or Components you can remove them.
  • Minor visual issues with removing stored payment methods.

4.5.0

08 Mar 13:55
d94c829
Compare
Choose a tag to compare

Added

  • Gift Card flow in Drop-in.
  • New required Gift Card related methods in DropInService:
    • checkBalance to make the /paymentMethods/balance API call and sendBalanceResult to return the result.
    • createOrder to make the /orders API call and sendOrderResult to return the result.
    • cancelOrder to make the /orders/cancel API call. Result can be returned with sendResult.
  • DropInServiceResult.Update required for the Gift Card flow. Updates drop-in with a new list of payment methods and optionally an order.
  • Gift Card Component.
  • RTL support.
  • Arabic string resource translations.
  • Pass a custom Bundle to DropInService using DropInConfiguration.Builder.setAdditionalDataForDropInService. Retrieve this bundle by calling DropInService.getAdditionalData.
  • The default Google Pay environment will automatically follow the Adyen environment even when calling GooglePayConfiguration.Builder.setEnvironment separately. You can still call GooglePayConfiguration.Builder.setGooglePayEnvironment to override this default behaviour.
  • Ability to remove stored payment methods. Override DropInService.removeStoredPaymentMethod and use sendRecurringResult to return the result.

Changed

  • Updated Adyen 3DS2 SDK version to 2.2.6.

Fixed

Removed

  • Drop-in being dismissed when tapping anywhere outside of the bottom sheet.

4.4.0

20 Dec 16:17
157cbfd
Compare
Choose a tag to compare

Added

  • BACS Direct Debit Component.

Fixed

  • Google Pay Environment being set incorrectly to WalletConstants.ENVIRONMENT_PRODUCTION.

Deprecated

  • DropInServiceResult.Action(actionJSON: String) is deprecated in favor of DropInServiceResult.Action(action: com.adyen.checkout.components.model.payments.response.Action). Use com.adyen.checkout.components.model.payments.response.Action.SERIALIZER to serialize your JSON response string.

4.3.0

09 Nov 14:39
69f69aa
Compare
Choose a tag to compare

WARNING

Make sure you explicitly set your LIVE environment on release builds when initializing Drop-in; DropInConfiguration is now initialized with Environment.TEST by default instead of Environment.EUROPE.

Deprecated

  • saveState and restoreState methods in action components. We rely on SavedStateHandle in all components and providers so these methods can be safely removed now.
  • requiresConfiguration method in action component providers. All components require configurations therefore this method will always return true.

Added

  • Card component shows a more specific error message when the user enters a card belonging to an unsupported brand.
  • DropInConfiguration.Builder.setSkipListWhenSinglePaymentMethod to allow skipping payment methods screen when single payment method exists. This only applies to payment methods that require a component (user input). Redirect payment methods, SDK payment methods, and so on will not be skipped.
  • Provide fundingSource when present in payment methods response.
  • Support for installments in card component.
  • Environment.LIVE, identical to the Environment.EUROPE.

Changed

  • Update 3DS2 SDK to version 2.2.5.

Fixed

  • Use ApplicationInfo.FLAG_DEBUGGABLE instead of BuildConfig.DEBUG to figure out whether it's a debug or release build.
  • NoClassDefFoundError crash with Card component, if 3DS2 is not included in the project.
  • Handle Google Pay cancellation and failure callbacks on initialisation.

4.2.0

22 Sep 08:40
22f051b
Compare
Choose a tag to compare

Added

  • Dual-branded card flow: shoppers can now select their card's brand when two brands are detected.
  • Ability to store BCMC cards.
  • Support for new Activity Result API.
  • Ability to stop observing components.
  • 3DS2 SDK version in CardComponent's output.
  • Read list of supported card networks for Google Pay from the payment methods API response.

Fixed

  • Crash caused by having stored payment methods none of which is Ecommerce.
  • Google Pay Component will not include TotalPrice in its output, if TotalPriceStatus is set to NOT_CURRENTLY_KNOWN.
  • Issue in Drop-in when multiple payment methods have the same type.
  • Missing default BCMC configuration in Drop-in.

4.1.1

26 Aug 13:45
9cf0235
Compare
Choose a tag to compare

Fixed

  • Address Visibility in Card Component configuration not being reflected on UI.

4.1.0

18 Aug 14:05
369b85c
Compare
Choose a tag to compare

Added

  • showPreselectedStoredPaymentMethod flag to DropInConfiguration to allow choosing to skip to the payment method selection screen.
  • Any Configuration will check if the clientKey matches the environment it will be used on.
  • Postal Code input field to Card Component.
  • KCP Authentication input field support to Card Component.
  • Social Security Number (CPF/CNPJ) input field support to Card Component.
  • Android 12 support.

Changed

  • Adyen 3DS2 SDK version to 2.2.4.

Removed

  • Switching to next input field automatically after card number has been filled in.

Fixed

  • Logos not loading when multiple icons in the same screen have the same logo.
  • Crashes when returning from a redirect, after drop-in activity is killed in the background.
  • Card number validation changed for cards where the number doesn't pass the Luhn check but is still valid.

4.0.0

08 Jul 10:44
eba9c22
Compare
Choose a tag to compare

Added

  • 3 new methods to ActionComponentProvider: canHandleAction, requiresView and getSupportedActionTypes.
  • Adyen3DS2Component, QRCodeComponent, RedirectComponent and WeChatPayActionComponent now implement IntentHandlingComponent and will have a handleIntent method. This method replaces handleRedirectResponse in RedirectComponent and handleResultIntent in WeChatPayActionComponent.
  • QRCodeComponent will now redirect QR Code actions that should work as a redirect on Android (e.g. bcmc_mobile). Use the handleIntent method to handle the result of the redirect.
  • Adyen3DS2Component now supports the new 3DS2 frictionless flow (requires API v67). In some cases the component will now make a redirect, use the handleIntent method to handle the result of the redirect.
  • For certain card types, the CVC field will be marked as optional. The CardComponent performs a BIN lookup call which uses the card number to try and identify the corresponding card type and whether the CVC is required or not.
  • Support new "googlepay" txVariant.
  • TotalPriceStatus to the GooglePayConfiguration.

Fixed

  • Update Google Pay logo.
  • Pay button not working when paying with a stored card with holder name required.
  • If GooglePayConfiguration is not provided manually to Drop-in, Google Pay will use the amount specified in DropInConfiguration.