Skip to content

Releases: datatrans/android-sdk

2.5.1

10 Jan 11:10
Compare
Choose a tag to compare

Fixed

  • Fixed a bug related to missing backend error names

2.5.0

24 Dec 12:23
Compare
Choose a tag to compare

🎄🎅🏻 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 and refno3
  • 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

22 Nov 09:43
Compare
Choose a tag to compare

💳 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

10 Nov 13:06
Compare
Choose a tag to compare

Fixed

  • Fixed crashes when Android OS kills the app in the background.

2.3.2

04 Nov 15:41
Compare
Choose a tag to compare

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

28 Oct 20:40
Compare
Choose a tag to compare

⚠️ 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

03 Oct 12:50
Compare
Choose a tag to compare

🎉 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 method onTokenizationSuccess has a changed signature: instead of a single tokenizationId string argument, it now has a result argument of type PCIPTokenizationSuccess, which contains the tokenization ID and other information
  • PCIPTokenizationRequest has been renamed to PCIPTokenization
  • PCIPTokenizationRequestOptions has been renamed to PCIPTokenizationOptions
  • PCIPTokenizationRequestListener has been renamed to PCIPTokenizationListener
  • PCIPTokenizationRequestException has been renamed to PCIPTokenizationException
  • PCIPTokenizationListener method onTokenizationRequestError has been renamed to onTokenizationError
  • PCIPTokenizationListener method onTokenizationRequestCancel has been renamed to onTokenizationCancel

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

13 Sep 14:58
Compare
Choose a tag to compare

Fixed

  • Improved stability and better error handling for PCI Proxy tokenization flows

2.2.0

31 Aug 13:21
Compare
Choose a tag to compare

🎉 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, or Debit card in our UI
  • We added the option to customize the payment method Boncard to render as Boncard, Gift card (a generic option), and Lunch-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

27 Jul 13:02
Compare
Choose a tag to compare

🎉 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