Releases: datatrans/android-sdk
2.5.1
2.5.0
🎄🎅🏻 Closing 2022 with enhanced error messages - Merry X-mas!
Starting 2.5.0, we return the same error names as our JSON API when something goes wrong. Merchants interested in error details can check BackendException's name property.
Added
- Added the error names from our JSON API to BackendException. Unexpected internal errors will not return a backend error.
- Added support for the JSON API parameters
refno2
andrefno3
- Added forward compatibility for new payment methods
Changed
- SSL errors are now handled internally. Note: TechnicalException is now only returned for unexpected internal errors, no longer for SSL or certificate pinning errors.
Fixed
- Minor bugs
2.4.0
💳 CVV Only flow for PCI Proxy merchants
We added a new flow for PCI Proxy merchants that allows capturing the CVV only (no card, no expiry date). Consumers are taken to the final card screen for this flow and have to complete it by simply adding their CVV. This flow can help check the CVV of a previously tokenized card (e.g., through a different provider).
Added
- Added the CVV Only flow for PCI Proxy merchants
Changed
- Improved PCI Proxy error handling
- Updated Reka logo
Fixed
- Fixed a bug related to Byjuno error codes
- Removed network security config from manifest to solve some build issues
2.3.3
2.3.2
Fixed
- Fixed a bug introduced in 2.3.1 which caused a crash when starting a transaction with only one payment method
2.3.1
⚠️ Klarna not auto-included anymore
Klarna SDK is no longer included automatically when linking our Android SDK. If you want to offer Klarna as a payment method, you must manually add the repository and dependency to your build gradle.
repositories {
...
maven { url 'https://x.klarnacdn.net/mobile-sdk/' }
}
dependencies {
...
implementation 'com.klarna.mobile:sdk:2.1.8'
}
Changed
- The Klarna SDK is no longer auto-included in our Android SDK.
Fixed
- Minor bugs
2.3.0
🎉 New features for PCI Proxy merchants!
We have added more data to our PCI Proxy flows: Our SDK now returns the card information in addition to the tokenization ID.
⚠️ Important Changes - only relevant to PCI Proxy merchants
PCIPTokenizationListener
methodonTokenizationSuccess
has a changed signature: instead of a singletokenizationId
string argument, it now has a result argument of typePCIPTokenizationSuccess
, which contains the tokenization ID and other informationPCIPTokenizationRequest
has been renamed toPCIPTokenization
PCIPTokenizationRequestOptions
has been renamed toPCIPTokenizationOptions
PCIPTokenizationRequestListener
has been renamed toPCIPTokenizationListener
PCIPTokenizationRequestException
has been renamed toPCIPTokenizationException
PCIPTokenizationListener
methodonTokenizationRequestError
has been renamed toonTokenizationError
PCIPTokenizationListener
methodonTokenizationRequestCancel
has been renamed toonTokenizationCancel
Added
- The PCI Proxy flow now returns card information in addition to the tokenization ID
Changed
- API renaming to be more consistent with other Datatrans APIs
2.2.1
2.2.0
🎉 Klarna is now supported by the SDK!
Klarna payments are now supported by the SDK. We implemented native flows for Klarna so you don't have to deal with them.
Added
- Klarna is now supported for payment flows
- We added a customizable label for cards to show customers the label
Credit or debit card
,Credit card
, orDebit card
in our UI - We added the option to customize the payment method Boncard to render as
Boncard
,Gift card
(a generic option), andLunch-Check
Changed
- Improved the BIN range filtering for credit and debit cards
- The card logos now reflect all possible matches (e.g., co-branded card logos)
- Renamed EasyPay to Swisscom Pay and updated the Swisscom Pay logo
- Card logos are now neatly truncated when not all logos fit on the screen
Fixed
- Fixed a bug in Android 5 introduced with the SDK version 2.1.0, related to card payments (
No virtual method getTextSizeUnit()
)
2.1.0
🎉 Elo and Hipercard can now be tokenized via the SDK!
We just added support for Elo and Hipercard to our SDK. Merchants tokenizing Elo or Hipercard will now be able to dynamically display the logos for these card types.
Added
- Added support for Elo and Hipercard in PCIP tokenization flows
Changed
- Updated the Samsung Pay logo
Fixed
- Credit card numbers no longer cut off on small screens
- Minor bugs