Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3fe1c6e
refactor existing openPaymentInputView method
Fabtron Aug 2, 2024
043a36a
add simple ui implementation without any validation
Fabtron Aug 5, 2024
55af7f5
add base construct for required impl's
Fabtron Aug 5, 2024
17082fe
impl base flow for pre auth
Fabtron Aug 5, 2024
31bd5a7
WIP: complete flow
Fabtron Aug 5, 2024
4e66d79
WIP: Add new navigation target
Fabtron Aug 5, 2024
2f98f27
Some small refactorings and renamings
cmaier Aug 5, 2024
4116b30
Improvement for the UI and i18n
cmaier Aug 5, 2024
e5c79c3
Fix several issues including UI
cmaier Aug 6, 2024
299a150
fix bug due to missing project id
Fabtron Aug 6, 2024
3502b06
add error handling
Fabtron Aug 6, 2024
5b3ea48
WIP: Add country and state json and integrate it in viewmodel
cmaier Aug 6, 2024
c7ceab1
Merge remote-tracking branch 'refs/remotes/origin/apps-1687-3ds-chang…
cmaier Aug 6, 2024
08258de
Add Country and State picker
cmaier Aug 6, 2024
db9ab24
fix label color
Fabtron Aug 6, 2024
af7b465
enable only if all required inputs are given
Fabtron Aug 6, 2024
e36493b
adjust scopes
Fabtron Aug 6, 2024
31b2511
Set state to null if empty
cmaier Aug 6, 2024
74cf79d
Add PreAuthDelete Request
cmaier Aug 6, 2024
9f94736
Merge remote-tracking branch 'origin/main' into apps-1687-3ds-changes
cmaier Aug 6, 2024
f09319a
Refactor name Telecash to Fiserv and moved files
cmaier Aug 6, 2024
96bf691
update CHANGELOG.md
Fabtron Aug 7, 2024
297e864
Use AnimatedVisibility instead of a boolean
cmaier Aug 7, 2024
299220e
Change KeyboardType for email and zip to None
cmaier Aug 7, 2024
efe3ec1
add state as required field if countries contains a list of states
Fabtron Aug 7, 2024
4369f86
rename ui event to match action
Fabtron Aug 7, 2024
e5029e8
Small improvements
cmaier Aug 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ All notable changes to this project will be documented in this file.
### Removed
### Fixed

## [0.75.0]
### Changed
* ui: update fiserv 3D's flow. The user now has to enter additional information to add a credit card.
* instead of using the CreditCardInput it is now required to use the FiservInput instead.
## [0.74.0]
### Added
* core: add new and update existing user agent headers
Expand Down
2 changes: 1 addition & 1 deletion kotlin-sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<activity
android:name=".MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustPan" />
android:windowSoftInputMode="adjustResize" />

<activity
android:name="io.snabble.sdk.screens.receipts.ReceiptListActivity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ fun setUpUiEvents(activity: AppCompatActivity, navController: NavController, bot
}
SnabbleUI.setUiAction(
activity,
SnabbleUI.Event.SHOW_CREDIT_CARD_INPUT
SnabbleUI.Event.SHOW_FISERV_INPUT
) { _, args ->
navController.navigate(R.id.navigation_credit_card_input, args)
navController.navigate(R.id.navigation_fiserv_input, args)
}
SnabbleUI.setUiAction(
activity,
Expand Down
6 changes: 3 additions & 3 deletions kotlin-sample/src/main/res/navigation/mobile_navigation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@
android:label="Payone" />

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

<fragment
android:id="@+id/navigation_sepa_card_input"
Expand Down
2 changes: 1 addition & 1 deletion ui/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
android:exported="false"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".payment.CreditCardInputActivity"
android:name=".payment.fiserv.FiservInputActivity"
android:exported="false" />
<activity
android:name=".payment.PaymentOptionsActivity"
Expand Down
Loading