New
- The
CardComponentState.binValue
now reports 8 digit bins in case of card numbers with 16 or more digits. - The new
CardBrand
class can be used to define unknown card brands. This can be used along withCardType
. - When adding new card brands through
CardConfiguration
, you can now use the newCardBrand
to add brands that are not already defined inCardType
.
For example:
CardConfiguration.Builder([SHOPPER_LOCALE], [ENVIRONMENT], [CLIENT_KEY])
.setSupportedCardTypes(CardBrand(txVariant = "[CARD_BRAND1]"), CardBrand(txVariant = "[CARD_BRAND2]"))
.build()
Changed
- Upgraded the 3D Secure 2 SDK version to v2.2.11.
- Upgraded
compileSdkVersion
andtargetSdkVersion
to 32. - Upgraded Kotlin version to 1.6.21.
- Upgraded Kotlin coroutines version to 1.6.1.
- Upgraded Fragment version to 1.5.5.
- Upgraded AppCompat version to 1.5.1.
Fixed
- For cards, you can now add unknown card types that aren't defined in
CardType
. Previously,
CardType.UNKNOWN
was not working correctly. - There is no longer a conflict with the 3D Secure 2 SDK that causes a runtime exception. This fixes the known issue in v4.9.0.
Deprecated
- The
CardType.UNKNOWN
property. UseCardBrand(txVariant = "[CARD_BRAND]")
instead. - The
CardType.setTxVariant()
method. No longer needed as it was used withCardType.UNKNOWN
.