Releases: Adyen/adyen-android
Releases · Adyen/adyen-android
4.7.0
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
Fixed
- Not being able to import some standalone modules because of
ui-core
accidentally having a dependency to a style incard
.
4.6.0
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 withCardConfiguration.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
Added
- Gift Card flow in Drop-in.
- New required Gift Card related methods in
DropInService
:checkBalance
to make the/paymentMethods/balance
API call andsendBalanceResult
to return the result.createOrder
to make the/orders
API call andsendOrderResult
to return the result.cancelOrder
to make the/orders/cancel
API call. Result can be returned withsendResult
.
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
toDropInService
usingDropInConfiguration.Builder.setAdditionalDataForDropInService
. Retrieve this bundle by callingDropInService.getAdditionalData
. - The default Google Pay environment will automatically follow the Adyen environment even when calling
GooglePayConfiguration.Builder.setEnvironment
separately. You can still callGooglePayConfiguration.Builder.setGooglePayEnvironment
to override this default behaviour. - Ability to remove stored payment methods. Override
DropInService.removeStoredPaymentMethod
and usesendRecurringResult
to return the result.
Changed
- Updated Adyen 3DS2 SDK version to
2.2.6
.
Fixed
- Redirects in Android 11. Privacy changes for package visibility in Android 11 requires a fix for handling redirects using Custom Tabs.
- Crash when the provided shopper
Locale
doesn't have anISO3Country
. - Crash in the Component screen when resuming drop-in after the activity has been destroyed in the background.
- CVC and expiry date fields in Card Component not being validated when empty.
- Various missing translations.
Removed
- Drop-in being dismissed when tapping anywhere outside of the bottom sheet.
4.4.0
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 ofDropInServiceResult.Action(action: com.adyen.checkout.components.model.payments.response.Action)
. Usecom.adyen.checkout.components.model.payments.response.Action.SERIALIZER
to serialize your JSON response string.
4.3.0
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
andrestoreState
methods in action components. We rely onSavedStateHandle
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 theEnvironment.EUROPE
.
Changed
- Update 3DS2 SDK to version
2.2.5
.
Fixed
- Use
ApplicationInfo.FLAG_DEBUGGABLE
instead ofBuildConfig.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
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, ifTotalPriceStatus
is set toNOT_CURRENTLY_KNOWN
. - Issue in Drop-in when multiple payment methods have the same type.
- Missing default BCMC configuration in Drop-in.
4.1.1
Fixed
- Address Visibility in Card Component configuration not being reflected on UI.
4.1.0
Added
showPreselectedStoredPaymentMethod
flag toDropInConfiguration
to allow choosing to skip to the payment method selection screen.- Any
Configuration
will check if theclientKey
matches theenvironment
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
Added
- 3 new methods to
ActionComponentProvider
:canHandleAction
,requiresView
andgetSupportedActionTypes
. Adyen3DS2Component
,QRCodeComponent
,RedirectComponent
andWeChatPayActionComponent
now implementIntentHandlingComponent
and will have ahandleIntent
method. This method replaceshandleRedirectResponse
inRedirectComponent
andhandleResultIntent
inWeChatPayActionComponent
.QRCodeComponent
will now redirect QR Code actions that should work as a redirect on Android (e.g.bcmc_mobile
). Use thehandleIntent
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 thehandleIntent
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 theGooglePayConfiguration
.
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 inDropInConfiguration
.