Releases: Radarpayments/android-sdk
Releases · Radarpayments/android-sdk
3.0.13
SDK Payment
Improvements
- If payment was canceled by user SDK returns
PaymentResultwithSDKCanceledByUserExceptionexception.
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
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
SDK Payment
Bug Fixes
- Fix the issue when mobile phone wasn't sent during MASTERCARD and VISA payments
3.0.10
SDK Forms
Other Changes
- supported edge to edge for Android API 21+
3.0.9
SDK Payment
Breaking Changes
- To create SDKPaymentConfig, you no longer need to pass Use3DSConfig
3.0.8
SDK Forms
Other Changes
- Update with Google PayButton API
3.0.7
SDK Payment
Other Changes
- Update for removing saved cards
3.0.6
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 beforeSDKPayment.init().- Set true/false to enable/disable WebView SDK logs to
isWebViewLogsEnabledforSentryLogger.
To use logging with your own logger implementLogInterface:
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
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 beforeSDKPayment.init().- Set true/false to enable/disable WebView SDK logs to
isWebViewLogsEnabledforSentryLogger.
To use logging with your own logger implementLogInterface:
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
SDK Payment
Improvements
- fixed exception when cast to X509TrustManager with null sslContextConfig
- improved boolean json parsing