WARNINGS
- This version has changes in dependency names and package names. Make sure you are using the correct dependency (for components) and re-import classes that were in the
basepackage. - This version now targets Checkout API version v67.
Due to a naming conflict this version is not fully available on JCenter, but alternatively you can manually add our Bintray repository until we move the project to Maven Central.This version is now available on Maven Central
maven {
url "https://dl.bintray.com/adyen/adyen-checkout-v3/"
}
Added
CardComponentandBcmcComponentwill now fetch the public key for card encryption using theclientKeyCardComponentwill now use Bin Lookup endpoint to more reliably verify the card brand.CardComponentwill now return the Bin and last 4 digits of the card number in theCardComponentStateDropInServicenow hasonPaymentsCallRequestedandonDetailsCallRequestedthat can be used to intercept a request.- This allows access to the whole
PaymentComponentStateand to handle asynchronous handling of the API call if necessary. DropInresult can now be fully handled inonActivityResult.- New code Documentation page
Changed
Features:
- MBWay Component removed email field and updated UI for phone number input.
Code:
- Refactored module structure and artifact IDs. Now each payment method has only 1 module with a simplified name.
- Renamed package
com.adyen.checkout.basetocom.adyen.checkout.components - Renamed package
com.adyen.checkout.base.componenttocom.adyen.checkout.components.base - Refactored
CallResulttoDropInServiceResultas sealed classes. - CSE module now has all the encryption code and has a simplified API.
CardEncrypter.encryptFields(unencryptedCardBuilder.build(), publicKey)DropInServiceis now a regular boundServiceinstead of aJobIntentServiceResultHandlerIntentis now an optional parameter instartPaymentinstead ofDropInConfigurationclientKeyis now a required parameter for allConfigurationobjectspublicKeycannot be passed directly to theConfigurationof Card and BCMC anymore, useclientKeyinstead.- A bunch of internal refactorings and moving classes to Kotlin 🚀
Removed
SimplifiedDropInServiceto not encourage bad practice of passing whole API response to the App.- AfterPay Component
Fixed
- Issue where card logo and validation logos would overlap.