Releases: datatrans/android-sdk
Releases · datatrans/android-sdk
3.8.0
💳🎄 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
3.7.3
3.7.2
3.7.1
3.7.0
🌷🙌🏻 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
3.6.1
3.6.0
⛏️🥞 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
✨📱 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
toTransactionException
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
toTransactionSuccess
andTransactionException
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 yourAndroidManifest
:
<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 replacesTWINTNotInstalledException
(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
🎃🔧 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