Skip to content

Commit f67d3ab

Browse files
committed
add 3d secure hint
1 parent 0dbd5e4 commit f67d3ab

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
99
### Changed
1010
- Send cart again after checkout abort
1111
- Increased toast message duration for longer texts
12+
- Added 3d secure hint
1213

1314
## [0.16.9]
1415

ui/src/main/res/layout/snabble_view_cardinput_creditcard.xml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="match_parent">
5+
6+
<TextView
7+
android:id="@+id/threed_secure_hint"
8+
android:layout_width="match_parent"
9+
android:layout_height="wrap_content"
10+
android:padding="16dp"
11+
android:text="@string/Snabble.CC.3dsecureHint" />
12+
513
<WebView
614
android:id="@+id/web_view"
15+
android:layout_below="@+id/threed_secure_hint"
716
android:layout_width="match_parent"
817
android:layout_height="match_parent" />
918

@@ -14,4 +23,4 @@
1423
style="?android:attr/progressBarStyleHorizontal"
1524
android:visibility="gone"
1625
android:layout_marginTop="-7dp"/>
17-
</FrameLayout>
26+
</RelativeLayout>

ui/src/main/res/values/strings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@
118118
<string name="Snabble.Payment.CreditCard.error">There was an error processing your credit card</string>
119119
<string name="Snabble.Payment.CreditCard.expireDate">Expires: %s</string>
120120
<string name="Snabble.Payment.usableAt">Usable at: %s</string>
121+
<string name="Snabble.CC.3dsecureHint">In order to verify your credit card, you will be redirected to your bank after entering your data. There you will be asked to approve a payment of € 1.00 to snabble. The amount will be credited to you immediately after your approval.</string>
121122
</resources>

0 commit comments

Comments
 (0)