Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect payment for Adyen + Trustly through web views, without Giraffe #1852

Merged
merged 20 commits into from
Nov 1, 2023

Conversation

StylianosGakis
Copy link
Member

Go through the Trustly connect payment link for Trustly
Go through our web for Adyen by only getting the token from authlib and handing off the rest to the web

For the deep link to point to for now while we still have one payment
connection link.
The ones that are still relevant do it through androidx.navigation
instead. The ones left are to be deleted when moving flow is out which
allows us to delete the offer page.
Should now just be handled by the androidx.navigation deep link handling
To be passed to Trustly to get informed about success/failure
Octopus has to also contribute its metadata so that dependant modules
can use its schema. In this case
InitiateTrustlyConnectPaymentSession.graphql.
Some sample untested UI code for all of this to be tested when the
presenter is hooked up correctly.
Just make the normal connect-payment, which is trustly for SE.
Then add the second one for Adyen. This way the deep link goes to the
Trustly one by default, but if you are in SE/NO you just get navigated
to the right place. If not, nothing happens.
Wire up TrustlyPresenter
Navigate to Adyen connect-payment in non SE market
Use the right strings
Use the right insets for the WebView
Simply do not render the layout until we get the screen size. This way
the HomeLayout won't first assume the screen size has 0 height and try
to lay out everything in a column at the top of the screen.
This way the animated placement on the cards won't do the jump that it
used to
Bump authlib and use the exposed PaymentRepository to fetch the right
payment connection URL from there directly
Add adyen screen and Presenter
Add a special error case for when the initialization of connect payment
fails, and not the connecting of the payment itself.
Fix the loading bar in the WebViews by making it go on top of the
WebView instead of pushing it when it appears.
@StylianosGakis StylianosGakis requested a review from a team as a code owner October 27, 2023 15:03
@StylianosGakis StylianosGakis changed the title Connect payment for Adyen + Trustly through web views Connect payment for Adyen + Trustly through web views, remove usage of Giraffe Oct 27, 2023
@StylianosGakis StylianosGakis changed the title Connect payment for Adyen + Trustly through web views, remove usage of Giraffe Connect payment for Adyen + Trustly through web views, without Giraffe Oct 27, 2023
@StylianosGakis StylianosGakis merged commit 1ec7b4b into develop Nov 1, 2023
@StylianosGakis StylianosGakis deleted the refactor/connect_payment_remove_activity branch November 1, 2023 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant