Skip to content

Releases: datatrans/android-sdk

3.8.0

18 Dec 13:44
Compare
Choose a tag to compare

💳🎄 DCC Update & bug fixes for Christmas!

Probably our last release of the year. We fixed a few things and also optimized how DCC works with our Android SDK.

Added

  • The DCC currency choice is now preselected for Mastercard payments
  • Added a method to unsubscribe your TransactionListener if needed, see here for more information

Updated

  • The Klarna SDK has been updated to the latest version
  • We now use the TWINT repository for the TWINT library

Fixed

  • Fixed a crash when the SDK is killed in the background
  • Fixed an app color display glitch that happened with certain web payments
  • Minor bugs

3.7.4

22 Nov 09:17
Compare
Choose a tag to compare

Fixed

  • ProGuard no longer repackages classes into our SDK package

3.7.3

14 Nov 11:40
Compare
Choose a tag to compare

Fixed

  • Fixed a crash when the Activity is terminated in the background

3.7.2

23 Oct 10:24
Compare
Choose a tag to compare

Fixed

  • Transaction status of Google Pay registrations

3.7.1

07 Oct 14:55
Compare
Choose a tag to compare

Added

  • Introduced a timeout mechanism for Samsung Pay availability checks to improve reliability

Fixed

  • The internal constructor of PCIPTokenization is now private
  • Fixed a crash caused by a NullPointerException with Samsung Pay

3.7.0

14 Aug 08:54
Compare
Choose a tag to compare

🌷🙌🏻 iDEAL, 3D Secure & More

We've expanded our SDK to iDEAL as a supported payment method and added Google Pay's token registration flow. Additionally, we've provided more flexibility in passing 3D Secure cardholder information.

Added

  • iDEAL as a supported payment method in the SDK
  • Option to pass 3D Secure cardholder information directly when invoking the SDK, supporting scenarios where this information isn't available during the transaction init request
  • Tokenization of Google Pay wallets (via newly added SavedGooglePay) to enable merchant-initiated transactions

Changed

  • Removed validations on the payment method Swiss Pass

Fixed

  • Fixed a bug happening when navigating back in the card flow, resolving issue #12
  • Repackaged classes during SDK obfuscation, resolving issue #22
  • Updated all dependencies, resolving issue #25

3.6.1

19 Apr 16:07
Compare
Choose a tag to compare

Fixed

  • Fixed occasional loading errors during 3D Secure authentication with certain card issuers

3.6.0

21 Mar 18:49
Compare
Choose a tag to compare

⛏️🥞 Better support for PCI Proxy flows with American Express & Improvements

We just added better support for network tokenizations with American Express, relevant for PCI Proxy merchants. We also worked on various bugfixes.

Added

  • An error is shown to the user when 3D Secure is not enrolled or supported but required
  • Card brand detection on the UI is now synced from a remote endpoint
  • Option cardholder to add the cardholder info (email and phone number) in PCI Proxy flows
  • Added support for Swissbilling discount amounts (discountAmount)

Changed

  • Enhanced the accessibility role and trait of various buttons

Fixed

  • Bug related to wrong card expiry months with Android's Locale set to Arabic
  • Minor bugs

3.5.1

22 Feb 17:25
Compare
Choose a tag to compare

✨📱 MobilePay Support & Improved Result Notifications!

First release of the year! We just added MobilePay support and significant improvements across the platform.

Added

  • The Mobile SDK now supports payments using MobilePay MBP
  • Added support for Diners Club cards issued by Cornercard
  • Transaction states are now preserved when the Activity is killed in the background
  • Added logString to TransactionException for logging errors in a compact form

Changed

  • Improved SDK notifications: Use the new static Transaction.subscribe method for resilient SDK result notifications, even when the Activity is terminated and recreated. Replace the old listener assignment with:
public override fun onCreate(savedInstanceState: Bundle?) {
  super.onCreate(savedInstanceState)
  Transaction.subscribe(this, myTransactionListener)
}
  • Added mobileToken to TransactionSuccess and TransactionException for better transaction tracking
  • Updated TransactionListener.onTransactionCancel to include mobileToken:
override fun onTransactionCancel(mobileToken: String) {
    ...
}
  • Shifted from FrameLayout to FragmentContainerView for better fragment management in XML layouts
  • For Vipps integrations, update the scheme pattern in your AndroidManifest:
<activity android:name="ch.datatrans.payment.VippsRelayActivity" android:exported="true">
    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />
        <data android:scheme="<appCallbackScheme>.vipps" />
    </intent-filter>
</activity>
  • Added AppNotInstalledException that replaces TWINTNotInstalledException (deprecated). This exception is thrown when a payment app is not installed on the device.

Fixed

  • Fixed a bug where double tapping on the payment method selection list would generate two transactions
  • Removed DCC flows from card registrations
  • Minor bugfixes

3.4.0

01 Nov 18:40
Compare
Choose a tag to compare

🎃🔧 Bugfixes and minor API changes

This release contains a few bugfixes and minor API changes. You can now change your merchant name on the Google Pay sheet, and Byjuno has been renamed CembraPay.

Added

  • Google Pay's totalPriceLabel can now be customized in showCustomLabel, overriding the default Pay {merchantName} on the payment sheet.
  • Support for payment method Half Fare Travelcard PLUS PLU
  • Support for SBB vouchers via Boncard

Changed

  • Renamed Byjuno to CembraPay
  • Updated the Boncard logo

Fixed

  • Fixed the length of the placeholder of American Express cards' CVV
  • Fixed a bug related to Google Pay flows when creating an alias
  • Fixed a bug related to Hipercard PCI proxy flows