Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 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
847b01f
update country json to contain numeric country codes
Fabtron Aug 7, 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
e94523d
Merge branch 'refs/heads/apps-1687-3ds-changes' into apps-1686-3ds-ch…
Fabtron Aug 7, 2024
1982999
Merge branch 'refs/heads/main' into apps-1686-3ds-changes
Fabtron Aug 7, 2024
42ebe1f
WIP: Integrate workflow for datatrans and mark missing parts with TBI
Fabtron Aug 7, 2024
3fa2a02
Create a shared module and cleanup code
cmaier Aug 7, 2024
a4c286f
Fix typo
cmaier Aug 7, 2024
451e531
Move datatrans fiserv and shared package into creditcard
cmaier Aug 7, 2024
35b0a04
WIP: refactor old datatrans singleton and integrate it in the new Dat…
Fabtron Aug 7, 2024
0b32e18
Add Phone number input with int calling code
cmaier Aug 7, 2024
d07b0be
Integrated both changes \o/
cmaier Aug 7, 2024
4765675
Declare missing DatatransActivity and add windowSoftInputMode
cmaier Aug 7, 2024
0ded477
changed to use @SerliazedNamed
Fabtron Aug 8, 2024
972909c
add event to finish the flow
Fabtron Aug 8, 2024
77ee2f7
Small cleanup
cmaier Aug 8, 2024
2086e8c
add onbackPress on fail
Fabtron Aug 8, 2024
f5f1852
combine methods
Fabtron Aug 8, 2024
cb46787
Create abstract class to refactore duplicated post method
cmaier Aug 8, 2024
c1f58ec
Restructured and renamed for clarity
cmaier Aug 8, 2024
fda9cc4
remove provide source and replace with inline extension fun to avoid …
Fabtron Aug 8, 2024
d34e773
refactor to provide the country item instead of the code to separate …
Fabtron Aug 8, 2024
f3204cc
Formatting
cmaier Aug 8, 2024
0cb2955
add missing CHANGELOG.md
Fabtron Aug 8, 2024
463ced3
Remove obsolete change
cmaier Aug 8, 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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ All notable changes to this project will be documented in this file.
## [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.
* instead of using the `CreditCardInput` it is now required to use the `FiservInput` instead.
* ui: update datatrans 3D's flow. The user now has to enter additional information to add a credit card.
* the new flow can be integrated via the new `SnabbleUi.Event` `SHOW_DATATRANS_INPUT`
* u can directly integrate the `DatatransFragment` as navigation target for this event

## [0.74.0]
### Added
* core: add new and update existing user agent headers
Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ allprojects {
repositories {
google()
mavenCentral()
maven(url = "https://raw.githubusercontent.com/snabble/maven-repository/releases")
maven(url = "https://datatrans.jfrog.io/artifactory/mobile-sdk/")
maven(url = "https://jitpack.io")
}
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jakewhartonProcessPhoenix = "com.jakewharton:process-phoenix:2.1.2"
picasso = "com.squareup.picasso:picasso:2.8"
rekisoftLazyWorker = "eu.rekisoft.android.util:LazyWorker:2.1.0"
relex-circleindicator = "me.relex:circleindicator:2.1.6"
snabble-phoneAuth-countryCodePicker = "io.snabble.phoneauth:countryCodePicker:3.2.2"
squareup-okhttp3-loggingInterceptor = { module = "com.squareup.okhttp3:logging-interceptor", version.ref = "com-squareup-okhttp3" }
squareup-okhttp3-okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "com-squareup-okhttp3" }
squareup-okhttp3-tls = { module = "com.squareup.okhttp3:okhttp-tls", version.ref = "com-squareup-okhttp3" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@

<fragment
android:id="@+id/navigation_fiserv_input"
android:name="io.snabble.sdk.ui.payment.fiserv.FiservInputFragment"
android:name="io.snabble.sdk.ui.payment.creditcard.fiserv.FiservInputFragment"
android:label="" />

<fragment
Expand Down
2 changes: 1 addition & 1 deletion ui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ dependencies {
implementation(libs.koltin.reflect)
implementation(libs.rekisoftLazyWorker)
implementation(libs.relex.circleindicator)

implementation(libs.snabble.phoneAuth.countryCodePicker)

implementation(libs.bundles.camera)
implementation(libs.bundles.navigation)
Expand Down
7 changes: 6 additions & 1 deletion ui/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@
android:exported="false"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".payment.fiserv.FiservInputActivity"
android:name=".payment.creditcard.fiserv.FiservInputActivity"
android:windowSoftInputMode="adjustResize"
android:exported="false" />
<activity
android:name=".payment.creditcard.datatrans.ui.DatatransActivity"
android:exported="false"
android:windowSoftInputMode="adjustResize" />
<activity
android:name=".payment.PaymentOptionsActivity"
android:exported="false" />
Expand Down
Loading