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
base
package. - 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
CardComponent
andBcmcComponent
will now fetch the public key for card encryption using theclientKey
CardComponent
will now use Bin Lookup endpoint to more reliably verify the card brand.CardComponent
will now return the Bin and last 4 digits of the card number in theCardComponentState
DropInService
now hasonPaymentsCallRequested
andonDetailsCallRequested
that can be used to intercept a request.- This allows access to the whole
PaymentComponentState
and to handle asynchronous handling of the API call if necessary. DropIn
result 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.base
tocom.adyen.checkout.components
- Renamed package
com.adyen.checkout.base.component
tocom.adyen.checkout.components.base
- Refactored
CallResult
toDropInServiceResult
as sealed classes. - CSE module now has all the encryption code and has a simplified API.
CardEncrypter.encryptFields(unencryptedCardBuilder.build(), publicKey)
DropInService
is now a regular boundService
instead of aJobIntentService
ResultHandlerIntent
is now an optional parameter instartPayment
instead ofDropInConfiguration
clientKey
is now a required parameter for allConfiguration
objectspublicKey
cannot be passed directly to theConfiguration
of Card and BCMC anymore, useclientKey
instead.- A bunch of internal refactorings and moving classes to Kotlin 🚀
Removed
SimplifiedDropInService
to not encourage bad practice of passing whole API response to the App.- AfterPay Component
Fixed
- Issue where card logo and validation logos would overlap.