Skip to content

Commit b5f5db8

Browse files
authored
Apply 3ds changes for fiserv (Apps-1687) (#197)
1 parent a122655 commit b5f5db8

38 files changed

+3357
-151
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ All notable changes to this project will be documented in this file.
77
### Removed
88
### Fixed
99

10+
## [0.75.0]
11+
### Changed
12+
* ui: update fiserv 3D's flow. The user now has to enter additional information to add a credit card.
13+
* instead of using the CreditCardInput it is now required to use the FiservInput instead.
1014
## [0.74.0]
1115
### Added
1216
* core: add new and update existing user agent headers

kotlin-sample/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<activity
3535
android:name=".MainActivity"
3636
android:exported="true"
37-
android:windowSoftInputMode="adjustPan" />
37+
android:windowSoftInputMode="adjustResize" />
3838

3939
<activity
4040
android:name="io.snabble.sdk.screens.receipts.ReceiptListActivity"

kotlin-sample/src/main/java/io/snabble/sdk/sample/SnabbleUiEventHandler.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ fun setUpUiEvents(activity: AppCompatActivity, navController: NavController, bot
3838
}
3939
SnabbleUI.setUiAction(
4040
activity,
41-
SnabbleUI.Event.SHOW_CREDIT_CARD_INPUT
41+
SnabbleUI.Event.SHOW_FISERV_INPUT
4242
) { _, args ->
43-
navController.navigate(R.id.navigation_credit_card_input, args)
43+
navController.navigate(R.id.navigation_fiserv_input, args)
4444
}
4545
SnabbleUI.setUiAction(
4646
activity,

kotlin-sample/src/main/res/navigation/mobile_navigation.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@
165165
android:label="Payone" />
166166

167167
<fragment
168-
android:id="@+id/navigation_credit_card_input"
169-
android:name="io.snabble.sdk.ui.payment.CreditCardInputFragment"
170-
android:label="Enter credit card" />
168+
android:id="@+id/navigation_fiserv_input"
169+
android:name="io.snabble.sdk.ui.payment.fiserv.FiservInputFragment"
170+
android:label="" />
171171

172172
<fragment
173173
android:id="@+id/navigation_sepa_card_input"

ui/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
android:exported="false"
2727
android:windowSoftInputMode="adjustResize" />
2828
<activity
29-
android:name=".payment.CreditCardInputActivity"
29+
android:name=".payment.fiserv.FiservInputActivity"
3030
android:exported="false" />
3131
<activity
3232
android:name=".payment.PaymentOptionsActivity"

0 commit comments

Comments
 (0)