github Adyen/adyen-android 4.0.0-beta01

latest releases: 5.5.0, 5.4.0, 4.13.5...
3 years ago

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 and BcmcComponent will now fetch the public key for card encryption using the clientKey
  • 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 the CardComponentState
  • DropInService now has onPaymentsCallRequested and onDetailsCallRequested 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 in onActivityResult.
  • 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 to com.adyen.checkout.components
  • Renamed package com.adyen.checkout.base.component to com.adyen.checkout.components.base
  • Refactored CallResult to DropInServiceResult 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 bound Service instead of a JobIntentService
  • ResultHandlerIntent is now an optional parameter in startPayment instead of DropInConfiguration
  • clientKey is now a required parameter for all Configuration objects
  • publicKey cannot be passed directly to the Configuration of Card and BCMC anymore, use clientKey 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.

Don't miss a new adyen-android release

NewReleases is sending notifications on new releases.