Skip to content

Commit 7e0b642

Browse files
authored
Change external billing payment method hint (#143)
1 parent 182c745 commit 7e0b642

File tree

5 files changed

+4
-7
lines changed

5 files changed

+4
-7
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ allprojects {
3333
repositories {
3434
google()
3535
mavenCentral()
36-
maven(url = "https://datatrans.jfrog.io/artifactory/mobile-sdk/")
36+
maven(url = "https://weareplanet.jfrog.io/artifactory/mobile-sdk/")
3737
maven(url = "https://jitpack.io")
3838
}
3939

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ compose-uiUtil = { module = "androidx.compose.ui:ui-util", version.ref = "androi
7070
compose-uiViewBinding = { module = "androidx.compose.ui:ui-viewbinding", version.ref = "androidx-compose-ui" }
7171
compose-iconsExtended = { module = "androidx.compose.material:material-icons-extended", version.ref = "androidx-compose-material" }
7272
commonsIo = "commons-io:commons-io:2.5"
73-
datatrans-androidSdk = "ch.datatrans:android-sdk:3.1.1"
73+
datatrans-androidSdk = "ch.datatrans:android-sdk:3.2.0"
7474
# @pin until a newer version been tested successfully: https://developer.android.com/studio/write/java8-support#library-desugaring-versions
7575
desugarJdkLibs = "com.android.tools:desugar_jdk_libs:1.1.5"
7676
googlePlayServices-maps = "com.google.android.gms:play-services-maps:18.1.0"

scripts/maven.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
task androidSourcesJar(type: Jar) {
2-
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
3-
}
4-
51
version = project.sdkVersion
62
group = 'io.snabble.sdk'
73

ui/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,4 @@ dependencies {
114114
androidTestImplementation(libs.test.espressoCore)
115115
androidTestImplementation(libs.test.runner)
116116
}
117+

ui/src/main/java/io/snabble/sdk/ui/cart/PaymentSelectionHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ private void updateEntries() {
344344
if (availablePaymentMethodsList.contains(e.paymentMethod)) {
345345
if (e.paymentMethod == PaymentMethod.EXTERNAL_BILLING) {
346346
e.isAvailable = true;
347-
e.hint = application.getString(R.string.Snabble_Payment_ExternalBilling_hint);
347+
e.hint = pc.getObfuscatedId();
348348
} else {
349349
e.isAvailable = true;
350350
e.hint = pc.getObfuscatedId();

0 commit comments

Comments
 (0)