Skip to content

Releases: Radarpayments/android-sdk

3.0.13

27 Oct 05:46

Choose a tag to compare

SDK Payment

Improvements

  • If payment was canceled by user SDK returns PaymentResult with SDKCanceledByUserException exception.

Payment result processing example

For Activity and Fragment, you need to override the onActivityResult method.

override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
    super.onActivityResult(requestCode, resultCode, data)
    // Processing the result of the payment cycle. 
    SDKPayment.handleCheckoutResult(requestCode, data, object :
        ResultPaymentCallback<PaymentData> {
          override fun onResult(result: PaymentResult) {
            // check payment result
               ...
                if (result.exception is SDKCanceledByUserException) {
                    // handle payment canceled by user
                }
          }
    })
}

3.0.12

13 Oct 08:12

Choose a tag to compare

Release Notes.

Improvements

  • Supported 16 kb page size for SDK.

Upgrade Steps

You must add the card.io-5.5.1-OS1.aar library file to the libs folder, then specify the dependency of the added library.

  • Remove from your build.gradle.kts file implementation("io.card:android-sdk:5.5.1")

  • Add to you build.gradle.kts file implementation(group = "", name = "card.io-5.5.1-OS1", ext = "aar")

3.0.11

30 Sep 08:09

Choose a tag to compare

SDK Payment

Bug Fixes

  • Fix the issue when mobile phone wasn't sent during MASTERCARD and VISA payments

3.0.10

23 Sep 10:48

Choose a tag to compare

SDK Forms

Other Changes

  • supported edge to edge for Android API 21+

3.0.9

05 Jun 11:37

Choose a tag to compare

SDK Payment

Breaking Changes

  • To create SDKPaymentConfig, you no longer need to pass Use3DSConfig

3.0.8

29 May 09:45

Choose a tag to compare

SDK Forms

Other Changes

  • Update with Google PayButton API

3.0.7

03 Apr 10:30

Choose a tag to compare

SDK Payment

Other Changes

  • Update for removing saved cards

3.0.6

28 Nov 06:07

Choose a tag to compare

Release Notes.

SDK Core, Forms, Payment, Threeds

Upgrade Steps

  • Add to your build.gradle.kts file
    implementation(group = "", name = "sdk_logs-release", ext = "aar")

Improvements

  • Added logging of the payment process for all SDK modules.

Usage example

  • Logger.addLogInterface(...) must be called before SDKPayment.init().
  • Set true/false to enable/disable WebView SDK logs to isWebViewLogsEnabled for SentryLogger .
    To use logging with your own logger implement LogInterface :
val myLogger = object : LogInterface {...}
Logger.addLogInterface(myLogger)

or if you have Sentry account use SentryLogger:

val sentryLogger = SentryLogger(
            SentryLogUploader(
                logUploaderConfig = SentryLogUploaderConfig(
                    url = "YourURL",
                    key = "YourKey",
                    appId = "YourAppId",
                ),
                installationIdProvider = InstallationIdProviderImpl(context)
            ),
			// set true/false to enabl/disable WebView logs
            isWebViewLogsEnabled = true,
        )
Logger.addLogInterface(sentryLogger)

3.0.2.2

13 Nov 09:56

Choose a tag to compare

Release Notes.

SDK Core, Forms, Payment, Threeds

Upgrade Steps

  • Add to your build.gradle.kts file
    implementation(group = "", name = "sdk_logs-release", ext = "aar")

Improvements

  • Added logging of the payment process for all SDK modules.

Usage example

  • Logger.addLogInterface(...) must be called before SDKPayment.init().
  • Set true/false to enable/disable WebView SDK logs to isWebViewLogsEnabled for SentryLogger .
    To use logging with your own logger implement LogInterface :
val myLogger = object : LogInterface {...}
Logger.addLogInterface(myLogger)

or if you have Sentry account use SentryLogger:

val sentryLogger = SentryLogger(
            SentryLogUploader(
                logUploaderConfig = SentryLogUploaderConfig(
                    url = "YourURL",
                    key = "YourKey",
                    appId = "YourAppId",
                ),
                installationIdProvider = InstallationIdProviderImpl(context)
            ),
			// set true/false to enabl/disable WebView logs
            isWebViewLogsEnabled = true,
        )
Logger.addLogInterface(sentryLogger)

3.0.5.1

18 Oct 11:37

Choose a tag to compare

SDK Payment

Improvements

  • fixed exception when cast to X509TrustManager with null sslContextConfig
  • improved boolean json parsing