Added
- Support for Pix payment method.
QRCodeComponent
to handle action typeqrCode
from payment methodpix
.- Support for other payment methods with a qrCode action will be added in the future.
- Support for returning
returnUrlQueryString
from redirect URL for some redirect payment methods like Swish.
Changed
- New releases are now published to Maven Central
- A
Configuration
object is now required when initializing any component. Action Components did not require it previously. - Provided default
GooglePayConfiguration
andCardConfiguration
in Drop-in. It's not required to manually set these configurations inDropInConfiguration.Builder
anymore. - The default Google Pay environment will automatically follow the Adyen environment. It will be initialized as
ENVIRONMENT_TEST
when using Adyen'sTEST
environment, otherwise it will be set toENVIRONMENT_PRODUCTION
. - The
merchantAccount
parameter inGooglePayConfiguration.Builder
is now optional. You can remove it from the builder constructor, or useGooglePayConfiguration.Builder.setMerchantAccount
if you need to pass it manually. - Updated 3DS2 SDK to version 2.2.2
- Updated Material Components dependency to 1.3.0.
- Screenshots are now allowed in Debug builds, when the Card component is displayed.
Fixed
- Passing
threeDSRequestorAppURL
to the SDK in the 3DS2 Component only when protocol version is 2.2.0 or higher since this is not expected in 2.1.0 - Style in TextInputLayout where in some scenarios text color would be too light and hard to see.
Removed
WeChatPayComponent
since it didn't have any function. Instead you can simply check if the App is available by calling:WeChatPayProvider.isAvailable
.PaymentComponentProvider.isAvailable
since most payment methods are always available. Replaced it withPaymentMethodAvailabilityCheck
, only implemented for methods that need to check for availability.